rna context rename

* context.main & bpy.types.Main --> context.blend_data & bpy.types.BlendData
* context.manager --> context.window_manager
This commit is contained in:
Campbell Barton
2010-09-02 04:53:05 +00:00
parent 6e1e638313
commit ddbfb05c84
24 changed files with 48 additions and 49 deletions

View File

@@ -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'