diff options
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index e6937c35648..2cbce902b94 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -603,7 +603,9 @@ static bool scene_collections_object_remove(Main *bmain, Scene *scene, Object *o { bool removed = false; - BKE_scene_remove_rigidbody_object(bmain, scene, ob); + if (collection_skip == NULL) { + BKE_scene_remove_rigidbody_object(bmain, scene, ob); + } FOREACH_SCENE_COLLECTION_BEGIN(scene, collection) { |