diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-09 23:12:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-09 23:12:03 +0400 |
commit | 1028284301d7a5d45bf968e12bc094e3393e56f9 (patch) | |
tree | 0806aa808f0385d119d7058c4bb5d95d173dead6 /release/scripts/ui/properties_object_constraint.py | |
parent | e3daab158c1f45f4ee23da0f1b0e5a61bcae3e87 (diff) |
pep8, whitespace edits
Diffstat (limited to 'release/scripts/ui/properties_object_constraint.py')
-rw-r--r-- | release/scripts/ui/properties_object_constraint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py index 11527ad9bda..6288b51020a 100644 --- a/release/scripts/ui/properties_object_constraint.py +++ b/release/scripts/ui/properties_object_constraint.py @@ -739,7 +739,7 @@ class ConstraintButtonsPanel(bpy.types.Panel): else: col = layout.column() col.prop(con, "use_relative_position") - if con.use_relative_position: + if con.use_relative_position: col.prop(con, "offset", text="Relative Pivot Point") else: col.prop(con, "offset", text="Absolute Pivot Point") @@ -747,6 +747,7 @@ class ConstraintButtonsPanel(bpy.types.Panel): col = layout.column() col.prop(con, "enabled_rotation_range", text="Pivot When") + class OBJECT_PT_constraints(ConstraintButtonsPanel): bl_label = "Object Constraints" bl_context = "constraint" |