diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-12 16:16:45 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-12 16:16:45 +0300 |
commit | a6585fa4b1a7a4dd4b5ea21efcee36c8460ff5ec (patch) | |
tree | 1767ffcbd73592950909c2c0cdb3816700453553 /source/blender/editors/physics/rigidbody_object.c | |
parent | d617a6c85b4874a81d86568d00b56f2bda11c4b4 (diff) |
Cleanup: moar removal of G.main in BKE area...
Diffstat (limited to 'source/blender/editors/physics/rigidbody_object.c')
-rw-r--r-- | source/blender/editors/physics/rigidbody_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c index b7083c29721..fa7298489b1 100644 --- a/source/blender/editors/physics/rigidbody_object.c +++ b/source/blender/editors/physics/rigidbody_object.c @@ -132,7 +132,7 @@ void ED_rigidbody_object_remove(Main *bmain, Scene *scene, Object *ob) BKE_rigidbody_remove_object(scene, ob); if (rbw) - BKE_group_object_unlink(rbw->group, ob, scene, NULL); + BKE_group_object_unlink(bmain, rbw->group, ob, scene, NULL); DAG_relations_tag_update(bmain); DAG_id_tag_update(&ob->id, OB_RECALC_OB); |