Material: Editor, fix open the editor without mat

This commit is contained in:
Bernd Hahnebach
2018-06-01 08:21:36 +02:00
parent 69c7c0ac90
commit 367c763c8c

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):