[Bf-blender-cvs] [0c475345e9e] hair_guides_grooming: Little warning with red bg when scalp object is not set.

Lukas Tönne noreply at git.blender.org
Sat Jun 9 06:38:48 CEST 2018


Commit: 0c475345e9ef35c4890d150ef517072f44c562fb
Author: Lukas Tönne
Date:   Sat Jun 9 05:38:15 2018 +0100
Branches: hair_guides_grooming
https://developer.blender.org/rB0c475345e9ef35c4890d150ef517072f44c562fb

Little warning with red bg when scalp object is not set.

===================================================================

M	release/scripts/startup/bl_ui/properties_data_groom.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_data_groom.py b/release/scripts/startup/bl_ui/properties_data_groom.py
index 84ce2b07983..bb47091ea88 100644
--- a/release/scripts/startup/bl_ui/properties_data_groom.py
+++ b/release/scripts/startup/bl_ui/properties_data_groom.py
@@ -76,6 +76,7 @@ class DATA_PT_groom(DataButtonsPanel, Panel):
         split = layout.split()
 
         col = split.column()
+        col.alert = (groom.scalp_object is None)
         col.label("Scalp Object:")
         col.prop(groom, "scalp_object", "")



More information about the Bf-blender-cvs mailing list