diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-07 19:17:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-07 19:17:42 +0400 |
commit | 115b25673832049b746835357d63d8d2dbee5229 (patch) | |
tree | ca36db0fe4063108ca5820e1d76ae0496fb88f15 /release/scripts/ui/properties_data_armature_rigify.py | |
parent | e53bbc7ab7568e315dc3cf06dd5e989300c98786 (diff) |
ran through pep8 checker
Diffstat (limited to 'release/scripts/ui/properties_data_armature_rigify.py')
-rw-r--r-- | release/scripts/ui/properties_data_armature_rigify.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_data_armature_rigify.py b/release/scripts/ui/properties_data_armature_rigify.py index aca41d59d3a..afcf0b336ed 100644 --- a/release/scripts/ui/properties_data_armature_rigify.py +++ b/release/scripts/ui/properties_data_armature_rigify.py @@ -98,7 +98,7 @@ class DATA_PT_template(bpy.types.Panel): if self.templates: subsubrow = subrow.split(percentage=0.8) subsubrow.operator("pose.metarig_sample_add", text="Sample").metarig_type = self.templates[pose_templates.active_template_index] - subsubrow.operator("pose.metarig_sample_add", text="All").metarig_type = "" # self.templates[pose_templates.active_template_index] + subsubrow.operator("pose.metarig_sample_add", text="All").metarig_type = "" # self.templates[pose_templates.active_template_index] sub = row.column(align=True) sub.operator("pose.metarig_reload", icon="FILE_REFRESH", text="") @@ -136,7 +136,7 @@ def rigify_report_exception(operator, exception): message.append("Incorrect armature for type '%s'" % fn) message.append(exception.message) - message.reverse() # XXX - stupid! menu's are upside down! + message.reverse() # XXX - stupid! menu's are upside down! operator.report(set(['INFO']), '\n'.join(message)) @@ -310,7 +310,7 @@ class INFO_MT_armature_metarig_add(bpy.types.Menu): layout.operator("pose.metarig_sample_add", text=text, icon='OUTLINER_OB_ARMATURE').metarig_type = submodule_type menu_func = (lambda self, context: self.layout.menu("INFO_MT_armature_metarig_add", icon='OUTLINER_OB_ARMATURE')) -import space_info # ensure the menu is loaded first +import space_info # ensure the menu is loaded first def register(): @@ -320,7 +320,6 @@ def register(): maxlen=64, default="") - PoseTemplateSettings.CollectionProperty(attr="templates", type=PoseTemplate, name="Templates", description="") PoseTemplateSettings.IntProperty(attr="active_template_index", name="Index of the active slave", |