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

@@ -694,7 +694,7 @@ def write_ui(filename):
# hack so the toggle buttons redraw. this is not nice at all
while GLOBALS['EVENT'] not in (EVENT_EXIT, EVENT_EXPORT):
Draw.UIBlock(obj_ui)
Draw.UIBlock(obj_ui, 0)
if GLOBALS['EVENT'] != EVENT_EXPORT:
return