diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2013-01-25 10:26:38 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2013-01-25 10:26:38 +0400 |
commit | 204ec89bff751092f0ca97320456e49107b6e15f (patch) | |
tree | 2e69d290d2d6374045f3e702b9b64d37187a5f47 /source/blender/editors/physics/physics_ops.c | |
parent | 5c8a978d1f3d7d887c2ecccfdfc5a198ac0d37d1 (diff) |
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.
Diffstat (limited to 'source/blender/editors/physics/physics_ops.c')
-rw-r--r-- | source/blender/editors/physics/physics_ops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/physics/physics_ops.c b/source/blender/editors/physics/physics_ops.c index fc6a0e58752..51a66886c6e 100644 --- a/source/blender/editors/physics/physics_ops.c +++ b/source/blender/editors/physics/physics_ops.c @@ -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); |