Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-02 08:53:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-02 08:53:39 +0400
commit1e5e2412e23fd5cd3077d40a6b6bf78431516d12 (patch)
treead3a8ced6556a5ccfc16049237b2e962774d9903 /space_view3d_materials_utils.py
parent893fa93c2d9385c1573d779a0304058d27ad1da8 (diff)
update for rna changes
Diffstat (limited to 'space_view3d_materials_utils.py')
-rw-r--r--space_view3d_materials_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py
index ba5b6818..c013e4c6 100644
--- a/space_view3d_materials_utils.py
+++ b/space_view3d_materials_utils.py
@@ -670,12 +670,12 @@ class VIEW3D_MT_select_material(bpy.types.Menu):
def register():
- km = bpy.context.manager.keyconfigs.active.keymaps['3D View']
+ km = bpy.context.window_manager.keyconfigs.active.keymaps['3D View']
kmi = km.items.new('wm.call_menu', 'Q', 'PRESS')
kmi.properties.name = "VIEW3D_MT_master_material"
def unregister():
- km = bpy.context.manager.keyconfigs.active.keymaps['3D View']
+ km = bpy.context.window_manager.keyconfigs.active.keymaps['3D View']
for kmi in km.items:
if kmi.idname == 'wm.call_menu':
if kmi.properties.name == "VIEW3D_MT_master_material":