[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24149] trunk/blender/release/scripts/ui: * Added missing "Passes" Button for AAO, reported by nudelZ.
Thomas Dinges
dingto at gmx.de
Thu Oct 29 00:47:56 CET 2009
Revision: 24149
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24149
Author: dingto
Date: 2009-10-29 00:47:56 +0100 (Thu, 29 Oct 2009)
Log Message:
-----------
* Added missing "Passes" Button for AAO, reported by nudelZ.
* Some Layout tweaks for Cloth Panel, put Quality option to top. Patch by nudelZ.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/buttons_physics_cloth.py
trunk/blender/release/scripts/ui/buttons_world.py
Modified: trunk/blender/release/scripts/ui/buttons_physics_cloth.py
===================================================================
--- trunk/blender/release/scripts/ui/buttons_physics_cloth.py 2009-10-28 22:14:31 UTC (rev 24148)
+++ trunk/blender/release/scripts/ui/buttons_physics_cloth.py 2009-10-28 23:47:56 UTC (rev 24149)
@@ -50,31 +50,32 @@
split = layout.split()
col = split.column()
+
+ col.itemL(text="Quality:")
+ col.itemR(cloth, "quality", text="Steps",slider=True)
+
col.itemL(text="Material:")
sub = col.column(align=True)
sub.itemR(cloth, "mass")
sub.itemR(cloth, "structural_stiffness", text="Structural")
sub.itemR(cloth, "bending_stiffness", text="Bending")
-
- col.itemR(cloth, "pin_cloth", text="Pin")
- sub = col.column(align=True)
- sub.active = cloth.pin_cloth
- sub.itemR(cloth, "pin_stiffness", text="Stiffness")
- sub.item_pointerR(cloth, "mass_vertex_group", ob, "vertex_groups", text="")
col = split.column()
+
+ col.itemL(text="Presets:")
+ col.itemL(text="TODO!")
col.itemL(text="Damping:")
sub = col.column(align=True)
sub.itemR(cloth, "spring_damping", text="Spring")
sub.itemR(cloth, "air_damping", text="Air")
+
+ col.itemR(cloth, "pin_cloth", text="Pin")
+ sub = col.column(align=True)
+ sub.active = cloth.pin_cloth
+ sub.itemR(cloth, "pin_stiffness", text="Stiffness")
+ sub.item_pointerR(cloth, "mass_vertex_group", ob, "vertex_groups", text="")
- col.itemL(text="Presets...")
- col.itemL(text="TODO!")
-
- col.itemL(text="Quality:")
- col.itemR(cloth, "quality", text="Steps",slider=True)
-
# Disabled for now
"""
if cloth.mass_vertex_group:
Modified: trunk/blender/release/scripts/ui/buttons_world.py
===================================================================
--- trunk/blender/release/scripts/ui/buttons_world.py 2009-10-28 22:14:31 UTC (rev 24148)
+++ trunk/blender/release/scripts/ui/buttons_world.py 2009-10-28 23:47:56 UTC (rev 24149)
@@ -155,6 +155,7 @@
col = split.column()
col.itemL(text="Sampling:")
+ col.itemR(ao, "passes")
col.itemR(ao, "error_tolerance", text="Error")
col.itemR(ao, "pixel_cache")
col.itemR(ao, "correction")
More information about the Bf-blender-cvs
mailing list