Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_cloth.py
| Context not available. | |||||
| layout.prop(cloth, "group") | layout.prop(cloth, "group") | ||||
| row = layout.row(align=True) | |||||
| row.label("Friction scaling:") | |||||
| row.prop_search(cloth, "vertex_group_friction", ob, "vertex_groups", text="") | |||||
| sub = row.row(align=True) | |||||
| sub.active = cloth.vertex_group_friction != "" | |||||
| sub.prop(cloth, "friction_max", text="Max") | |||||
| class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel, Panel): | class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel, Panel): | ||||
| bl_label = "Cloth Stiffness Scaling" | bl_label = "Cloth Stiffness Scaling" | ||||
| Context not available. | |||||