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>2011-04-25 00:59:19 +0400
committerThomas Dinges <blender@dingto.org>2011-04-25 00:59:19 +0400
commit262eec84cd8911dcdae2fe9415a94f68a039282b (patch)
tree928a2d14b9f3939619c167588b5276d237a75f10 /release
parentfd45310dfe30952081ef51f80e62543664ca84a5 (diff)
2.5 UI scripts:
* Small cleanup of code and descriptions.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py45
1 files changed, 20 insertions, 25 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 0e1bd870e7d..e640654ea69 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -118,11 +118,8 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
def BEVEL(self, layout, ob, md):
split = layout.split()
- col = split.column()
- col.prop(md, "width")
-
- col = split.column()
- col.prop(md, "use_only_vertices")
+ split.prop(md, "width")
+ split.prop(md, "use_only_vertices")
layout.label(text="Limit Method:")
layout.row().prop(md, "limit_method", expand=True)
@@ -186,10 +183,10 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
col.prop(md, "use_transform")
def CLOTH(self, layout, ob, md):
- layout.label(text="See Cloth panel.")
+ layout.label(text="Settings can be found inside the Physics context")
def COLLISION(self, layout, ob, md):
- layout.label(text="See Collision panel.")
+ layout.label(text="Settings can be found inside the Physics context")
def CURVE(self, layout, ob, md):
split = layout.split()
@@ -265,7 +262,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
layout.operator("object.explode_refresh", text="Refresh")
def FLUID_SIMULATION(self, layout, ob, md):
- layout.label(text="See Fluid panel.")
+ layout.label(text="Settings can be found inside the Physics context")
def HOOK(self, layout, ob, md):
split = layout.split()
@@ -444,7 +441,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
col.prop(md, "random_position", text="Random", slider=True)
def PARTICLE_SYSTEM(self, layout, ob, md):
- layout.label(text="See Particle panel.")
+ layout.label(text="Settings can be found inside the Particle context")
def SCREW(self, layout, ob, md):
split = layout.split()
@@ -541,7 +538,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
col.prop(md, "lock_y")
def SMOKE(self, layout, ob, md):
- layout.label(text="See Smoke panel.")
+ layout.label(text="Settings can be found inside the Physics context")
def SMOOTH(self, layout, ob, md):
split = layout.split(percentage=0.25)
@@ -559,10 +556,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
col.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
def SOFT_BODY(self, layout, ob, md):
- layout.label(text="See Soft Body panel.")
+ layout.label(text="Settings can be found inside the Physics context")
def SOLIDIFY(self, layout, ob, md):
-
split = layout.split()
col = split.column()
@@ -578,22 +574,21 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
col = split.column()
col.prop(md, "offset")
- colsub = col.column()
- colsub.active = bool(md.vertex_group)
- colsub.prop(md, "invert_vertex_group", text="Invert")
+ sub = col.column()
+ sub.active = bool(md.vertex_group)
+ sub.prop(md, "invert_vertex_group", text="Invert")
col.prop(md, "use_even_offset")
col.prop(md, "use_quality_normals")
-
col.prop(md, "use_rim")
- colsub = col.column()
-
- colsub.label()
- rowsub = colsub.split(align=True, percentage=0.4)
- rowsub.prop(md, "material_offset", text="")
- colsub = rowsub.row()
- colsub.active = md.use_rim
- colsub.prop(md, "material_offset_rim", text="Rim")
+
+ sub = col.column()
+ sub.label()
+ row = sub.split(align=True, percentage=0.4)
+ row.prop(md, "material_offset", text="")
+ row = row.row()
+ row.active = md.use_rim
+ row.prop(md, "material_offset_rim", text="Rim")
def SUBSURF(self, layout, ob, md):
layout.row().prop(md, "subdivision_type", expand=True)
@@ -610,7 +605,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
col.prop(md, "show_only_control_edges")
def SURFACE(self, layout, ob, md):
- layout.label(text="See Fields panel.")
+ layout.label(text="Settings can be found inside the Physics context")
def UV_PROJECT(self, layout, ob, md):
if ob.type == 'MESH':