rna flag PROP_ENUM_FLAG which makes rna props a tuple of enums when converted into a PyObject

only used by wm.invoke_props_popup() currently
This commit is contained in:
2009-12-07 00:16:57 +00:00
parent 85773c7230
commit 750764f411
12 changed files with 124 additions and 63 deletions

View File

@@ -61,8 +61,7 @@ class SelectPattern(bpy.types.Operator):
def invoke(self, context, event):
wm = context.manager
wm.invoke_props_popup(self, event)
return ('RUNNING_MODAL',)
return wm.invoke_props_popup(self, event)
def draw(self, context):
layout = self.layout