From cd05a05bca02e9fa7dfcb59f7fa8533015889ff4 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 29 Apr 2021 15:46:06 +0200 Subject: Fix T87686: Cycles persistent data not updating correctly with hair --- intern/cycles/render/attribute.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern') 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() -- cgit v1.2.3