Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-04-29 16:46:06 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-04-29 16:58:51 +0300
commitcd05a05bca02e9fa7dfcb59f7fa8533015889ff4 (patch)
tree24fb0ff2dad74757e0932d8224267c7a748d66da /intern
parent8b9b87aee8e5e9a68b3c211049377d77d44126c0 (diff)
Fix T87686: Cycles persistent data not updating correctly with hair
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/attribute.cpp3
1 files changed, 3 insertions, 0 deletions
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()