[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37784] trunk/blender/release/scripts/ startup/bl_operators/wm.py: fix [#27747] Modal operator in Special Menu (W) ignores continues grab

Campbell Barton ideasman42 at gmail.com
Fri Jun 24 05:59:44 CEST 2011


Revision: 37784
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37784
Author:   campbellbarton
Date:     2011-06-24 03:59:41 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------
fix [#27747] Modal operator in Special Menu (W) ignores continues grab

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/wm.py

Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py	2011-06-24 03:49:56 UTC (rev 37783)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py	2011-06-24 03:59:41 UTC (rev 37784)
@@ -462,7 +462,7 @@
     '''Adjust arbitrary values with mouse input'''
     bl_idname = "wm.context_modal_mouse"
     bl_label = "Context Modal Mouse"
-    bl_options = {'INTERNAL'}
+    bl_options = {'GRAB_POINTER', 'BLOCKING', 'INTERNAL'}
 
     data_path_iter = StringProperty(description="The data path relative to the context, must point to an iterable.")
     data_path_item = StringProperty(description="The data path from each iterable to the value (int or float)")




More information about the Bf-blender-cvs mailing list