fix [#27747] Modal operator in Special Menu (W) ignores continues grab
authorCampbell Barton <ideasman42@gmail.com>
Fri, 24 Jun 2011 03:59:41 +0000 (03:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 24 Jun 2011 03:59:41 +0000 (03:59 +0000)
release/scripts/startup/bl_operators/wm.py

index fcc30ecbb4b4a18f585da8755a49cccb7b08c0a4..629a48d5750f2929543e4f188597baa09f9aa211 100644 (file)
@@ -462,7 +462,7 @@ class WM_OT_context_modal_mouse(bpy.types.Operator):
     '''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)")