[Bf-blender-cvs] [c069a2610ca] cycles_procedural_api: fix bits not being set in Node::tag_modified

Kévin Dietrich noreply at git.blender.org
Mon Nov 16 13:10:15 CET 2020


Commit: c069a2610cac9d90a4373545a382bcb36c94362a
Author: Kévin Dietrich
Date:   Mon Nov 9 12:31:43 2020 +0100
Branches: cycles_procedural_api
https://developer.blender.org/rBc069a2610cac9d90a4373545a382bcb36c94362a

fix bits not being set in Node::tag_modified

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

M	intern/cycles/graph/node.cpp

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

diff --git a/intern/cycles/graph/node.cpp b/intern/cycles/graph/node.cpp
index abf9eb4cc8c..e682153fa58 100644
--- a/intern/cycles/graph/node.cpp
+++ b/intern/cycles/graph/node.cpp
@@ -35,7 +35,7 @@ Node::Node(const NodeType *type_, ustring name_) : name(name_), type(type_)
   assert(type);
 
   owner = nullptr;
-  socket_modified = ~0;
+  tag_modified();
   time_stamp = -1;
 
   /* assign non-empty name, convenient for debugging */
@@ -786,7 +786,7 @@ bool Node::is_modified()
 
 void Node::tag_modified()
 {
-  socket_modified = ~0u;
+  socket_modified = ~0ull;
 }
 
 void Node::clear_modified()



More information about the Bf-blender-cvs mailing list