added an option for python Draw.UIBlock(func, mouse_exit) so moving the mouse outside the popup wont close it.

Stops FBX Export and OBJ I/O from flickering a lot.
This commit is contained in:
2008-10-22 08:21:43 +00:00
parent 69c6bd604c
commit 688cc11302
6 changed files with 17 additions and 14 deletions

View File

@@ -878,7 +878,7 @@ def load_obj_ui(filepath, BATCH_LOAD= False):
# hack so the toggle buttons redraw. this is not nice at all
while GLOBALS['EVENT'] not in (EVENT_EXIT, EVENT_IMPORT):
Draw.UIBlock(obj_ui)
Draw.UIBlock(obj_ui, 0)
if GLOBALS['EVENT'] != EVENT_IMPORT:
return