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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user