diff --git a/release/scripts/ui/buttons_physics_cloth.py b/release/scripts/ui/buttons_physics_cloth.py index e25497b3713..bcf1d3b8316 100644 --- a/release/scripts/ui/buttons_physics_cloth.py +++ b/release/scripts/ui/buttons_physics_cloth.py @@ -50,11 +50,25 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel): 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 = 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) @@ -62,19 +76,6 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel): sub.itemR(cloth, "pin_stiffness", text="Stiffness") 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 """ if cloth.mass_vertex_group: diff --git a/release/scripts/ui/buttons_world.py b/release/scripts/ui/buttons_world.py index b64efc1048d..abf2a139c06 100644 --- a/release/scripts/ui/buttons_world.py +++ b/release/scripts/ui/buttons_world.py @@ -155,6 +155,7 @@ class WORLD_PT_ambient_occlusion(WorldButtonsPanel): 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")