rename layout.red_alert to alert, may be themeable some day.
This commit is contained in:
@@ -722,7 +722,7 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel, bpy.types.Panel):
|
||||
|
||||
if ob.mode == 'POSE':
|
||||
box = layout.box()
|
||||
box.red_alert = True;
|
||||
box.alert = True;
|
||||
box.label(icon='INFO', text="See Bone Constraints tab to Add Constraints to active bone")
|
||||
else:
|
||||
layout.operator_menu_enum("object.constraint_add", "type")
|
||||
|
||||
Reference in New Issue
Block a user