operator draw function working again. needed to add layout to the operator to give access to "self.layout" - like panels, headers and manu's have

This commit is contained in:
2009-12-24 21:17:14 +00:00
parent 4b8bc301c6
commit 5f4e24d599
23 changed files with 72 additions and 32 deletions

View File

@@ -1621,7 +1621,7 @@ class IMPORT_OT_obj(bpy.types.Operator):
def invoke(self, context, event):
wm = context.manager
wm.add_fileselect(self)
return ('RUNNING_MODAL',)
return {'RUNNING_MODAL'}
bpy.types.register(IMPORT_OT_obj)