diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 14:42:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 14:42:11 +0300 |
commit | 1622385445d86210750e0a299971454904a891c1 (patch) | |
tree | d4ba9a09045ba4678781cd07289b1de9e30a513f /release/scripts/templates/operator_modal.py | |
parent | 40af167b0986edb02a5c151dfe785e8ab0aa6548 (diff) |
pedantic word ordering change.
- wm.add_modal_handler -> modal_handler_add
- wm.add_fileselect -> fileselect_add
- ob.add_shape_key -> shape_key_add
- VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove)
Also made 2 internal cmake vars hidden.
Diffstat (limited to 'release/scripts/templates/operator_modal.py')
-rw-r--r-- | release/scripts/templates/operator_modal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/operator_modal.py b/release/scripts/templates/operator_modal.py index 522f9fea050..6283626e7b1 100644 --- a/release/scripts/templates/operator_modal.py +++ b/release/scripts/templates/operator_modal.py @@ -25,7 +25,7 @@ class ModalOperator(bpy.types.Operator): def invoke(self, context, event): if context.object: - context.window_manager.add_modal_handler(self) + context.window_manager.modal_handler_add(self) self.first_mouse_x = event.mouse_x self.first_value = context.object.location.x return {'RUNNING_MODAL'} |