rigidbody: Improve add/remove operators
Now all add/remove operators for rigid body objects and constraints automatically add objects to the appropriate groups and create groups if they don't exist yet. This makes handling rigid bodies easier but doesn't take away functionality. If users want to handle groups manually they just need to create them before adding any objects. The previous behaviour was confusing and was even considered to be a bug since clicking on rigid body in the physics tab seemed to do nothing.
This commit is contained in:
@@ -97,7 +97,6 @@ static void operatortypes_particle(void)
|
||||
WM_operatortype_append(RIGIDBODY_OT_mass_calculate);
|
||||
|
||||
WM_operatortype_append(RIGIDBODY_OT_constraint_add);
|
||||
WM_operatortype_append(RIGIDBODY_OT_constraint_group_add);
|
||||
WM_operatortype_append(RIGIDBODY_OT_constraint_remove);
|
||||
|
||||
WM_operatortype_append(RIGIDBODY_OT_world_add);
|
||||
|
||||
Reference in New Issue
Block a user