[Bf-blender-cvs] [1f05d71] master: UI: Small panel tweak for Dynamic Paint UI, to save some space when color type is NONE

Thomas Dinges noreply at git.blender.org
Wed Dec 11 12:40:51 CET 2013


Commit: 1f05d71e24ae75800883526e0a64a94097aae210
Author: Thomas Dinges
Date:   Wed Dec 11 12:40:17 2013 +0100
http://developer.blender.org/rB1f05d71e24ae75800883526e0a64a94097aae210

UI: Small panel tweak for Dynamic Paint UI, to save some space when color type is NONE

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
index 093da00..06c04f2 100644
--- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
+++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
@@ -323,7 +323,8 @@ class PHYSICS_PT_dp_canvas_initial_color(PhysicButtonsPanel, Panel):
         ob = context.object
 
         layout.prop(surface, "init_color_type", expand=False)
-        layout.separator()
+        if surface.init_color_type != 'NONE':
+            layout.separator()
 
         # dissolve
         if surface.init_color_type == 'COLOR':




More information about the Bf-blender-cvs mailing list