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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-19 23:40:38 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-19 23:40:38 +0400
commit45089af1b277770ea6eb02f1d92af9f8f1d05125 (patch)
tree7dba5cc4fed25071f3c34648f54bd42d76fbd768 /release/ui
parent01ef3301a81b18fb40257161d7d0c5daa9a1f024 (diff)
Bone constraints are now in a separate tab. It's more consistent
since object constraints also have their own tab, and I didn't want to break context going from left to right.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/buttons_data_bone.py1
-rw-r--r--release/ui/buttons_object_constraint.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py
index a0121821e55..b4048a94f23 100644
--- a/release/ui/buttons_data_bone.py
+++ b/release/ui/buttons_data_bone.py
@@ -74,6 +74,7 @@ class BONE_PT_transform(BoneButtonsPanel):
class BONE_PT_transform_locks(BoneButtonsPanel):
__label__ = "Transform Locks"
+ __default_closed__ = True
def poll(self, context):
return context.bone
diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py
index c8f7e467a18..1d2f9a5cb49 100644
--- a/release/ui/buttons_object_constraint.py
+++ b/release/ui/buttons_object_constraint.py
@@ -513,7 +513,7 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel):
class BONE_PT_constraints(ConstraintButtonsPanel):
__label__ = "Constraints"
- __context__ = "bone"
+ __context__ = "bone_constraint"
def poll(self, context):
ob = context.object