* 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:
@@ -50,11 +50,25 @@ 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 = 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")
|
col.itemR(cloth, "pin_cloth", text="Pin")
|
||||||
sub = col.column(align=True)
|
sub = col.column(align=True)
|
||||||
@@ -62,19 +76,6 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
|
|||||||
sub.itemR(cloth, "pin_stiffness", text="Stiffness")
|
sub.itemR(cloth, "pin_stiffness", text="Stiffness")
|
||||||
sub.item_pointerR(cloth, "mass_vertex_group", ob, "vertex_groups", text="")
|
sub.item_pointerR(cloth, "mass_vertex_group", ob, "vertex_groups", text="")
|
||||||
|
|
||||||
col = split.column()
|
|
||||||
|
|
||||||
col.itemL(text="Damping:")
|
|
||||||
sub = col.column(align=True)
|
|
||||||
sub.itemR(cloth, "spring_damping", text="Spring")
|
|
||||||
sub.itemR(cloth, "air_damping", text="Air")
|
|
||||||
|
|
||||||
col.itemL(text="Presets...")
|
|
||||||
col.itemL(text="TODO!")
|
|
||||||
|
|
||||||
col.itemL(text="Quality:")
|
|
||||||
col.itemR(cloth, "quality", text="Steps",slider=True)
|
|
||||||
|
|
||||||
# Disabled for now
|
# Disabled for now
|
||||||
"""
|
"""
|
||||||
if cloth.mass_vertex_group:
|
if cloth.mass_vertex_group:
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user