diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-05-01 23:23:12 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-05-01 23:24:30 +0400 |
commit | e2288255fb4d70d1bbca037e608d3376168cd53b (patch) | |
tree | 9dfc675bc116c02a5922273ebe6c189480f10e53 | |
parent | c806a8ce96d93c739675f8444427be575b67a788 (diff) |
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!
-rw-r--r-- | release/scripts/startup/bl_ui/properties_constraint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index 09dfbcff3f5..50107604b3b 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") |