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>2012-10-24 15:13:43 +0400
committerThomas Dinges <blender@dingto.org>2012-10-24 15:13:43 +0400
commite4fcc07a10942799164d6adbe0dfba2e79a1110e (patch)
treecf65e374d38eed223bafdc5eec5621a743654c63 /release
parentba48c94a8b0a2e44bc56bf26f5257ca7373b2485 (diff)
UI fixes for Laplacian Smooth (r51578):
* Make UI look more like Smooth Modifier. * Don't use RNA property names like "lamb", use a more descriptive one instead.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py26
1 files changed, 17 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 28d20bcb2d6..f749b59b6fe 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -333,15 +333,23 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
def LAPLACIANSMOOTH(self, layout, ob, md):
layout.prop(md, "iterations")
- layout.prop(md, "lamb")
- layout.prop(md, "lambdaborder")
- row = layout.row()
- row.label(text="Axis: ")
- row.prop(md, "use_x")
- row.prop(md, "use_y")
- row.prop(md, "use_z")
- row = layout.row()
- row.prop(md, "volume_preservation")
+
+ split = layout.split(percentage=0.25)
+
+ col = split.column()
+ col.label(text="Axis:")
+ col.prop(md, "use_x")
+ col.prop(md, "use_y")
+ col.prop(md, "use_z")
+
+ col = split.column()
+ col.label(text="Lambda:")
+ col.prop(md, "lambda_factor", text="Factor")
+ col.prop(md, "lambda_border", text="Border")
+
+ col.separator()
+ col.prop(md, "volume_preservation")
+
layout.label(text="Vertex Group:")
layout.prop_search(md, "vertex_group", ob, "vertex_groups", text="")