[Bf-blender-cvs] [e228825] master: Fix T39987: The new "redirect to bone constraints" button at the object constaints tab is wrong in bone edit mode
Bastien Montagne
noreply at git.blender.org
Thu May 1 21:35:36 CEST 2014
Commit: e2288255fb4d70d1bbca037e608d3376168cd53b
Author: Bastien Montagne
Date: Thu May 1 21:23:12 2014 +0200
https://developer.blender.org/rBe2288255fb4d70d1bbca037e608d3376168cd53b
Fix T39987: The new "redirect to bone constraints" button at the object constaints tab is wrong in bone edit mode
In edit mode, do as with usual objects - show object constraints!
===================================================================
M release/scripts/startup/bl_ui/properties_constraint.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py
index 09dfbcf..5010760 100644
--- a/release/scripts/startup/bl_ui/properties_constraint.py
+++ b/release/scripts/startup/bl_ui/properties_constraint.py
@@ -858,7 +858,7 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel, Panel):
obj = context.object
- if obj.type == 'ARMATURE' and obj.mode in {'EDIT', 'POSE'}:
+ if obj.type == 'ARMATURE' and obj.mode in {'POSE'}:
box = layout.box()
box.alert = True # XXX: this should apply to the box background
box.label(icon='INFO', text="Constraints for active bone do not live here")
More information about the Bf-blender-cvs
mailing list