diff options
author | Thomas Dinges <blender@dingto.org> | 2013-12-11 15:40:17 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-12-11 15:40:17 +0400 |
commit | 1f05d71e24ae75800883526e0a64a94097aae210 (patch) | |
tree | 638e8d4399f3a60ddac67af7beb91127127901aa /release/scripts/startup | |
parent | 2a55d68e1927aa2a6b85607a98617fd8a7f71ca9 (diff) |
UI: Small panel tweak for Dynamic Paint UI, to save some space when color type is NONE
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py index 093da00a2d9..06c04f25c62 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': |