rna context rename

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

View File

@@ -789,7 +789,7 @@ class USERPREF_PT_input(InputKeyMapPanel):
#start = time.time()
userpref = context.user_preferences
wm = context.manager
wm = context.window_manager
inputs = userpref.inputs
@@ -1183,7 +1183,7 @@ class WM_OT_addon_install(bpy.types.Operator):
self.report({'ERROR'}, "No 'addons' path could be found in " + str(bpy.utils.script_paths()))
return {'CANCELLED'}
wm = context.manager
wm = context.window_manager
wm.add_fileselect(self)
return {'RUNNING_MODAL'}