Revision: 48415
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48415
Author: campbellbarton
Date: 2012-06-29 20:29:13 +0000 (Fri, 29 Jun 2012)
Log Message:
-----------
don't close operator dialogs when the mouse moves outside of them. this is very
annoying when you spend time to enter in many values, escape, click-out-side
still quits.
Modified Paths:
--------------
trunk/blender/source/blender/windowmanager/intern/wm_operators.c
Modified: trunk/blender/source/blender/windowmanager/intern/wm_operators.c
===================================================================
--- trunk/blender/source/blender/windowmanager/intern/wm_operators.c
2012-06-29 20:26:07 UTC (rev 48414)
+++ trunk/blender/source/blender/windowmanager/intern/wm_operators.c
2012-06-29 20:29:13 UTC (rev 48415)
@@ -1052,8 +1052,11 @@
block = uiBeginBlock(C, ar, __func__, UI_EMBOSS);
uiBlockClearFlag(block, UI_BLOCK_LOOP);
- uiBlockSetFlag(block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_RET_1 |
UI_BLOCK_MOVEMOUSE_QUIT);
+ /* intentionally don't use 'UI_BLOCK_MOVEMOUSE_QUIT', some dialogs have
many items
+ * where quitting by accident is very annoying */
+ uiBlockSetFlag(block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_RET_1);
+
layout = uiBlockLayout(block, UI_LAYOUT_VERTICAL, UI_LAYOUT_PANEL, 0,
0, data->width, data->height, style);
uiBlockSetFunc(block, dialog_check_cb, op, NULL);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs