* Added missing "Passes" Button for AAO, reported by nudelZ.

* Some Layout tweaks for Cloth Panel, put Quality option to top. Patch by nudelZ.
This commit is contained in:
2009-10-28 23:47:56 +00:00
parent 3ff0032ec8
commit 2aa2f53265
2 changed files with 15 additions and 13 deletions

View File

@@ -50,30 +50,31 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
split = layout.split() split = layout.split()
col = split.column() col = split.column()
col.itemL(text="Quality:")
col.itemR(cloth, "quality", text="Steps",slider=True)
col.itemL(text="Material:") col.itemL(text="Material:")
sub = col.column(align=True) sub = col.column(align=True)
sub.itemR(cloth, "mass") sub.itemR(cloth, "mass")
sub.itemR(cloth, "structural_stiffness", text="Structural") sub.itemR(cloth, "structural_stiffness", text="Structural")
sub.itemR(cloth, "bending_stiffness", text="Bending") 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 = split.column()
col.itemL(text="Presets:")
col.itemL(text="TODO!")
col.itemL(text="Damping:") col.itemL(text="Damping:")
sub = col.column(align=True) sub = col.column(align=True)
sub.itemR(cloth, "spring_damping", text="Spring") sub.itemR(cloth, "spring_damping", text="Spring")
sub.itemR(cloth, "air_damping", text="Air") sub.itemR(cloth, "air_damping", text="Air")
col.itemL(text="Presets...") col.itemR(cloth, "pin_cloth", text="Pin")
col.itemL(text="TODO!") sub = col.column(align=True)
sub.active = cloth.pin_cloth
col.itemL(text="Quality:") sub.itemR(cloth, "pin_stiffness", text="Stiffness")
col.itemR(cloth, "quality", text="Steps",slider=True) sub.item_pointerR(cloth, "mass_vertex_group", ob, "vertex_groups", text="")
# Disabled for now # Disabled for now
""" """

View File

@@ -155,6 +155,7 @@ class WORLD_PT_ambient_occlusion(WorldButtonsPanel):
col = split.column() col = split.column()
col.itemL(text="Sampling:") col.itemL(text="Sampling:")
col.itemR(ao, "passes")
col.itemR(ao, "error_tolerance", text="Error") col.itemR(ao, "error_tolerance", text="Error")
col.itemR(ao, "pixel_cache") col.itemR(ao, "pixel_cache")
col.itemR(ao, "correction") col.itemR(ao, "correction")