Depsgraph: Ignore groups from copy on write expansion
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 20 Jul 2017 10:45:07 +0000 (12:45 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 20 Jul 2017 11:27:34 +0000 (13:27 +0200)
Groups will not have IDs in the dependency graph, so we shouldn't
create them for CoW as well.

source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc

index 10547da2505930b12b44324ffa0bd7cc392fe50d..f895563dd997900f9138809a916d50c2e81be78c 100644 (file)
@@ -313,7 +313,8 @@ static bool check_datablocks_copy_on_writable(const ID *id_orig)
                              ID_TE,
                              ID_IM,
                              ID_LS,
-                             ID_AC);
+                             ID_AC,
+                             ID_GR);
 }
 
 /* Callback for BKE_library_foreach_ID_link which remaps original ID pointer