[Bf-blender-cvs] [cd05a05bca0] blender-v2.93-release: Fix T87686: Cycles persistent data not updating correctly with hair

Brecht Van Lommel noreply at git.blender.org
Thu Apr 29 15:59:34 CEST 2021


Commit: cd05a05bca02e9fa7dfcb59f7fa8533015889ff4
Author: Brecht Van Lommel
Date:   Thu Apr 29 15:46:06 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rBcd05a05bca02e9fa7dfcb59f7fa8533015889ff4

Fix T87686: Cycles persistent data not updating correctly with hair

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

M	intern/cycles/render/attribute.cpp

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

diff --git a/intern/cycles/render/attribute.cpp b/intern/cycles/render/attribute.cpp
index 331d30802f1..d6a638fd4cd 100644
--- a/intern/cycles/render/attribute.cpp
+++ b/intern/cycles/render/attribute.cpp
@@ -689,6 +689,9 @@ void AttributeSet::update(AttributeSet &&new_attributes)
 
     it++;
   }
+
+  /* If all attributes were replaced, transform is no longer applied. */
+  geometry->transform_applied = false;
 }
 
 void AttributeSet::clear_modified()



More information about the Bf-blender-cvs mailing list