Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_cloth.py
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| md = context.cloth | md = context.cloth | ||||
| cloth = md.settings | cloth = md.settings | ||||
| layout.active = cloth_panel_enabled(md) | layout.active = cloth_panel_enabled(md) | ||||
| flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=True) | flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=True) | ||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "mass", text="Mass") | col.prop(cloth, "mass", text="Vertex Mass") | ||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "air_damping", text="Air Viscosity") | col.prop(cloth, "air_damping", text="Air Viscosity") | ||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "bending_model") | col.prop(cloth, "bending_model") | ||||
| class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel, Panel): | class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel, Panel): | ||||
| bl_label = "Stiffness" | bl_label = "Stiffness" | ||||
| ▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines | |||||