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_view3d.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_view3d.py')
-rw-r--r-- | release/scripts/templates/operator_modal_view3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/operator_modal_view3d.py b/release/scripts/templates/operator_modal_view3d.py index 9b49fd947ad..d7d691dacf2 100644 --- a/release/scripts/templates/operator_modal_view3d.py +++ b/release/scripts/templates/operator_modal_view3d.py @@ -39,7 +39,7 @@ class ViewOperator(bpy.types.Operator): v3d = context.space_data rv3d = v3d.region_3d - context.manager.add_modal_handler(self) + context.window_manager.add_modal_handler(self) if rv3d.view_perspective == 'CAMERA': rv3d.view_perspective = 'PERSP' |