diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-25 00:17:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-25 00:17:14 +0300 |
commit | 5f4e24d5990a7ecd6198ee394da8b7c07277cd91 (patch) | |
tree | 9a1909d90276f0243d50c6624da43c794cc52dad /release/scripts/ui/properties_data_armature_rigify.py | |
parent | 4b8bc301c62784d111f2cffcbc35cf9c6189e37b (diff) |
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
Diffstat (limited to 'release/scripts/ui/properties_data_armature_rigify.py')
-rw-r--r-- | release/scripts/ui/properties_data_armature_rigify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_armature_rigify.py b/release/scripts/ui/properties_data_armature_rigify.py index 12f1b0ed5e5..c0270d9b8ca 100644 --- a/release/scripts/ui/properties_data_armature_rigify.py +++ b/release/scripts/ui/properties_data_armature_rigify.py @@ -275,7 +275,7 @@ class AsScript(bpy.types.Operator): self.properties.path = os.path.splitext(bpy.data.filename)[0] + "-" + bpy.utils.clean_name(obj.name) + ".py" wm = context.manager wm.add_fileselect(self) - return ('RUNNING_MODAL',) + return {'RUNNING_MODAL'} # operators that use the GUI |