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