Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_cloth.py
| Context not available. | |||||
| col = split.column() | col = split.column() | ||||
| col.prop(cloth, "dynamic_base_mesh", text="Dynamic Mesh") | |||||
| key = ob.data.shape_keys | key = ob.data.shape_keys | ||||
| if key: | if key: | ||||
| sub = col.column() | sub = col.column() | ||||
| sub.active = not cloth.dynamic_base_mesh | |||||
| sub.label(text="Rest Shape Key:") | sub.label(text="Rest Shape Key:") | ||||
| sub.prop_search(cloth, "rest_shape_key", key, "key_blocks", text="") | sub.prop_search(cloth, "rest_shape_key", key, "key_blocks", text="") | ||||
| Context not available. | |||||