[Bf-blender-cvs] [f42bb9d278a] blender2.8: Depsgraph: Ignore groups from copy on write expansion

Sergey Sharybin noreply at git.blender.org
Thu Jul 20 13:27:50 CEST 2017


Commit: f42bb9d278a2f07c94fc04270c14fe19d6194de3
Author: Sergey Sharybin
Date:   Thu Jul 20 12:45:07 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBf42bb9d278a2f07c94fc04270c14fe19d6194de3

Depsgraph: Ignore groups from copy on write expansion

Groups will not have IDs in the dependency graph, so we shouldn't
create them for CoW as well.

===================================================================

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

===================================================================

diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
index 10547da2505..f895563dd99 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
@@ -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




More information about the Bf-blender-cvs mailing list