Skip to content
Snippets Groups Projects
Commit 60a76bcb authored by Michael Williamson's avatar Michael Williamson
Browse files

Fixed multiple copies of materials being added, this script now works for...

Fixed multiple copies of materials being added, this script now works for metaballs, text, curves etc. Select by material only shows used materials in teh pop up now too.
parent 9325505e
No related branches found
No related tags found
No related merge requests found
......@@ -694,7 +694,7 @@ def register():
if km is None:
km = kc.keymaps.new(name="3D View")
kmi = km.items.new('wm.call_menu', 'Q', 'PRESS')
kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS')
kmi.properties.name = "VIEW3D_MT_master_material"
def unregister():
......@@ -709,4 +709,4 @@ def unregister():
break
if __name__ == "__main__":
register()
\ No newline at end of file
register()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment