Blender Git Commit Log

Git Commits -> Revision f190131

Revision f190131 by Julian Eisel (master)
January 14, 2015, 00:29 (GMT)
Workaround/Fix T43139: Calling bpy.ops.screen.screen_full_area() multiple times in python console causes Blender to crash

This was sort of a chicken<->egg dilemma, because after a maximized screen was restored, the screen handling used region
coordinates which weren't updated yet. I'm still not sure why, but this resulted in area coords that go beond INT_MAX.

To fix this I made sure the first screen handling after restoring a maximized screen is skipped, so that it's delayed to
the next call of wm_event_do_handlers (since this is called from main loop there shouldn't be a noticable delay or any
handling glitches).

Commit Details:

Full Hash: f19013158ab51dd8a9ed7a0121c2858c310f8286
Parent Commit: 3d503ea
Lines Changed: +16, -2

3 Modified Paths:

/source/blender/editors/screen/screen_edit.c (+5, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+3, -2) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021