Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-06-09 23:12:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-09 23:12:03 +0400
commit1028284301d7a5d45bf968e12bc094e3393e56f9 (patch)
tree0806aa808f0385d119d7058c4bb5d95d173dead6 /release/scripts/ui/properties_object_constraint.py
parente3daab158c1f45f4ee23da0f1b0e5a61bcae3e87 (diff)
pep8, whitespace edits
Diffstat (limited to 'release/scripts/ui/properties_object_constraint.py')
-rw-r--r--release/scripts/ui/properties_object_constraint.py3
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"