diff options
author | Jacques Lucke <jacques@blender.org> | 2021-04-26 17:44:06 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-04-26 17:44:06 +0300 |
commit | d89d53b453d58155dbb907cb68f37dcb73fc749f (patch) | |
tree | bc2fb26c97290239771a624fb625bc6117fa3a33 /source/blender/blenkernel/intern | |
parent | bac9562f15639066b076decb9ca3151391eb54a0 (diff) | |
parent | b67fe05d4bea2d3c9efbd127e9d9dc3a897e89e6 (diff) |
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index b29dd007c51..3170c3aa65c 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -1150,6 +1150,8 @@ bool BKE_collection_object_add(Main *bmain, Collection *collection, Object *ob) BKE_main_collection_sync(bmain); } + DEG_id_tag_update(&collection->id, ID_RECALC_GEOMETRY); + return true; } @@ -1201,6 +1203,8 @@ bool BKE_collection_object_remove(Main *bmain, BKE_main_collection_sync(bmain); } + DEG_id_tag_update(&collection->id, ID_RECALC_GEOMETRY); + return true; } |