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; }
 };

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to