[Bf-blender-cvs] [e3b2e588c5f] cycles_procedural_api: fix regression making some tests fail

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


Commit: e3b2e588c5f1bcccbed751c6cc5994abad1ea96a
Author: Kévin Dietrich
Date:   Mon Nov 9 11:51:59 2020 +0100
Branches: cycles_procedural_api
https://developer.blender.org/rBe3b2e588c5f1bcccbed751c6cc5994abad1ea96a

fix regression making some tests fail

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

M	intern/cycles/render/attribute.cpp

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

diff --git a/intern/cycles/render/attribute.cpp b/intern/cycles/render/attribute.cpp
index 55cb71ccddd..75cb2b24549 100644
--- a/intern/cycles/render/attribute.cpp
+++ b/intern/cycles/render/attribute.cpp
@@ -157,6 +157,7 @@ void Attribute::set_data_from(Attribute &other)
   if (memcmp(this->data(), other.data(), other.buffer.size()) != 0) {
     modified = true;
     this->buffer = other.buffer;
+    this->flags = other.flags;
   }
 }



More information about the Bf-blender-cvs mailing list