diff options
Diffstat (limited to 'space_view3d_panel_measure.py')
-rw-r--r-- | space_view3d_panel_measure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py index 9451bbf5..030033d8 100644 --- a/space_view3d_panel_measure.py +++ b/space_view3d_panel_measure.py @@ -606,12 +606,12 @@ class VIEW3D_OT_display_measurements(bpy.types.Operator): def execute(self, context): if context.area.type == 'VIEW_3D': - mgr_ops = context.manager.operators.values() + mgr_ops = context.window_manager.operators.values() if not self.bl_idname in [op.bl_idname for op in mgr_ops]: # Add the region OpenGL drawing callback for WINregion in context.area.regions: if WINregion.type == 'WINDOW': - context.manager.add_modal_handler(self) + context.window_manager.add_modal_handler(self) self._handle = WINregion.callback_add( draw_measurements_callback, (self, context), |