[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36314] trunk/blender/release/scripts/ startup/bl_ui/properties_data_modifier.py: 2.5 UI scripts:
Thomas Dinges
blender at dingto.org
Sun Apr 24 22:59:20 CEST 2011
Revision: 36314
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36314
Author: dingto
Date: 2011-04-24 20:59:19 +0000 (Sun, 24 Apr 2011)
Log Message:
-----------
2.5 UI scripts:
* Small cleanup of code and descriptions.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py 2011-04-24 14:45:49 UTC (rev 36313)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py 2011-04-24 20:59:19 UTC (rev 36314)
@@ -118,12 +118,9 @@
def BEVEL(self, layout, ob, md):
split = layout.split()
- col = split.column()
- col.prop(md, "width")
+ split.prop(md, "width")
+ split.prop(md, "use_only_vertices")
- col = split.column()
- col.prop(md, "use_only_vertices")
-
layout.label(text="Limit Method:")
layout.row().prop(md, "limit_method", expand=True)
if md.limit_method == 'ANGLE':
@@ -186,10 +183,10 @@
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 @@
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 @@
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 @@
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 @@
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,23 +574,22 @@
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()
+
+ 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")
- 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")
-
def SUBSURF(self, layout, ob, md):
layout.row().prop(md, "subdivision_type", expand=True)
@@ -610,7 +605,7 @@
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':
More information about the Bf-blender-cvs
mailing list