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!
This commit is contained in:
parent
c806a8ce96
commit
e2288255fb
Notes:
blender-bot
2023-02-14 10:42:37 +01:00
Referenced by issue #39987, The new "redirect to bone constraints" button at the object constaints tab is wrong in bone edit mode
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue