diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-02 08:53:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-02 08:53:05 +0400 |
commit | ddbfb05c84d1b20df82d8b1264d897dd55006695 (patch) | |
tree | 6cbd6cbc0201aa69c60af750527c114733acfcb8 /release/scripts/templates/operator_modal_draw.py | |
parent | 6e1e6383135689091d9d43462d86a8090ab5b82b (diff) |
rna context rename
* context.main & bpy.types.Main --> context.blend_data & bpy.types.BlendData
* context.manager --> context.window_manager
Diffstat (limited to 'release/scripts/templates/operator_modal_draw.py')
-rw-r--r-- | release/scripts/templates/operator_modal_draw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/operator_modal_draw.py b/release/scripts/templates/operator_modal_draw.py index 56ffb95f555..2a3db3e3018 100644 --- a/release/scripts/templates/operator_modal_draw.py +++ b/release/scripts/templates/operator_modal_draw.py @@ -52,7 +52,7 @@ class ModalDrawOperator(bpy.types.Operator): def invoke(self, context, event): if context.area.type == 'VIEW_3D': - context.manager.add_modal_handler(self) + context.window_manager.add_modal_handler(self) # Add the region OpenGL drawing callback # draw in view space with 'POST_VIEW' and 'PRE_VIEW' |