Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_softbody.py
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col.prop(softbody, "friction") | col.prop(softbody, "friction") | ||||
| col.prop(softbody, "mass") | col.prop(softbody, "mass") | ||||
| col.prop_search(softbody, "vertex_group_mass", ob, "vertex_groups", text="Mass") | col.prop_search(softbody, "vertex_group_mass", ob, "vertex_groups", text="Mass") | ||||
| col = split.column() | col = split.column() | ||||
| col.label(text="Simulation:") | col.label(text="Simulation:") | ||||
| col.prop(softbody, "speed") | col.prop(softbody, "speed") | ||||
| layout.prop(softbody, "collision_group") | |||||
| class PHYSICS_PT_softbody_cache(PhysicButtonsPanel, Panel): | class PHYSICS_PT_softbody_cache(PhysicButtonsPanel, Panel): | ||||
| bl_label = "Soft Body Cache" | bl_label = "Soft Body Cache" | ||||
| bl_options = {'DEFAULT_CLOSED'} | bl_options = {'DEFAULT_CLOSED'} | ||||
| COMPAT_ENGINES = {'BLENDER_RENDER'} | COMPAT_ENGINES = {'BLENDER_RENDER'} | ||||
| def draw(self, context): | def draw(self, context): | ||||
| md = context.soft_body | md = context.soft_body | ||||
| ▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines | |||||