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

@@ -63,7 +63,7 @@ class SelectPattern(bpy.types.Operator):
wm = context.manager
# return wm.invoke_props_popup(self, event)
wm.invoke_props_popup(self, event)
return ('RUNNING_MODAL',)
return {'RUNNING_MODAL'}
def draw(self, context):
layout = self.layout