[Bf-blender-cvs] [fbcf05f443d] blender2.8: Depsgraph: Copy-on-write component does not depend on itself
Sergey Sharybin
noreply at git.blender.org
Wed Aug 30 11:16:06 CEST 2017
Commit: fbcf05f443d77ae1d50c4efdffff59655e05be46
Author: Sergey Sharybin
Date: Tue Aug 29 17:16:05 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBfbcf05f443d77ae1d50c4efdffff59655e05be46
Depsgraph: Copy-on-write component does not depend on itself
===================================================================
M source/blender/depsgraph/intern/nodes/deg_node_component.h
===================================================================
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.h b/source/blender/depsgraph/intern/nodes/deg_node_component.h
index 36945daf1b8..d2a375421fd 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node_component.h
+++ b/source/blender/depsgraph/intern/nodes/deg_node_component.h
@@ -216,6 +216,8 @@ struct LayerCollectionsDepsNode : public ComponentDepsNode {
struct CopyOnWriteDepsNode : public ComponentDepsNode {
DEG_DEPSNODE_DECLARE;
+
+ virtual bool depends_on_cow() { return false; }
};
More information about the Bf-blender-cvs
mailing list