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

@@ -546,7 +546,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, bpy.types.Panel):
if part.physics_type == 'KEYED':
col = row.column()
#doesn't work yet
#col.red_alert = key.valid
#col.alert = key.valid
col.prop(key, "object", text="")
col.prop(key, "system", text="System")
col = row.column()
@@ -556,7 +556,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, bpy.types.Panel):
elif part.physics_type == 'BOIDS':
sub = row.row()
#doesn't work yet
#sub.red_alert = key.valid
#sub.alert = key.valid
sub.prop(key, "object", text="")
sub.prop(key, "system", text="System")
@@ -564,7 +564,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, bpy.types.Panel):
elif part.physics_type == 'FLUID':
sub = row.row()
#doesn't work yet
#sub.red_alert = key.valid
#sub.alert = key.valid
sub.prop(key, "object", text="")
sub.prop(key, "system", text="System")