Material: Editor, fix open the editor without mat

This commit is contained in:
Bernd Hahnebach
2018-06-01 08:21:36 +02:00
parent b643d03319
commit 76cb5f033c

View File

@@ -309,7 +309,7 @@ def openEditor(obj = None, prop = None):
"""openEditor([obj,prop]): opens the editor, optionally with
an object name and material property name to edit"""
editor = MaterialEditor(obj,prop)
editor.show()
editor.exec_()
def editMaterial(material):