Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_common.py
| Context not available. | |||||
| col, obj.rigid_body, "Rigid Body", | col, obj.rigid_body, "Rigid Body", | ||||
| "rigidbody.object_add", | "rigidbody.object_add", | ||||
| "rigidbody.object_remove", | "rigidbody.object_remove", | ||||
| 'MESH_ICOSPHERE' | 'RIGID_BODY' | ||||
| ) # XXX: need dedicated icon. | ) | ||||
| # all types of objects can have rigid body constraint. | # all types of objects can have rigid body constraint. | ||||
| physics_add_special( | physics_add_special( | ||||
| col, obj.rigid_body_constraint, "Rigid Body Constraint", | col, obj.rigid_body_constraint, "Rigid Body Constraint", | ||||
| "rigidbody.constraint_add", | "rigidbody.constraint_add", | ||||
| "rigidbody.constraint_remove", | "rigidbody.constraint_remove", | ||||
| 'CONSTRAINT' | 'RIGID_BODY_CONSTRAINT' | ||||
| ) # RB_TODO needs better icon. | ) | ||||
| # cache-type can be 'PSYS' 'HAIR' 'SMOKE' etc. | # cache-type can be 'PSYS' 'HAIR' 'SMOKE' etc. | ||||
| Context not available. | |||||