Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-12-11 15:40:17 +0400
committerThomas Dinges <blender@dingto.org>2013-12-11 15:40:17 +0400
commit1f05d71e24ae75800883526e0a64a94097aae210 (patch)
tree638e8d4399f3a60ddac67af7beb91127127901aa /release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
parent2a55d68e1927aa2a6b85607a98617fd8a7f71ca9 (diff)
UI: Small panel tweak for Dynamic Paint UI, to save some space when color type is NONE
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py3
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':