Draw function for operators (just like panels), used for the redo popup, file selector and redo tool panel.

Used for ply export & select pattern.
This commit is contained in:
2009-11-29 01:49:22 +00:00
parent 03c897da1b
commit 36cbf42e5d
7 changed files with 89 additions and 16 deletions

View File

@@ -52,6 +52,17 @@ class SelectPattern(bpy.types.Operator):
wm = context.manager
wm.invoke_props_popup(self, event)
return ('RUNNING_MODAL',)
def draw(self, context):
print("WoW")
layout = self.layout
props = self.properties
layout.prop(props, "pattern")
row = layout.row()
row.prop(props, "case_sensitive")
row.prop(props, "extend")
class SubsurfSet(bpy.types.Operator):