use sets rather then tuples for enum/flags so you can use bitfield operators

This commit is contained in:
2009-12-07 02:20:55 +00:00
parent 7f590d3a46
commit 764c4c94fa
3 changed files with 38 additions and 26 deletions

View File

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