rename layout.red_alert to alert, may be themeable some day.

This commit is contained in:
2011-01-03 13:33:07 +00:00
parent 72e8a0c552
commit a41ec761fd
3 changed files with 8 additions and 8 deletions

View File

@@ -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")