Blender Git Loki

Git Commits -> Revision 42198e9

Revision 42198e9 by Kévin Dietrich (master)
March 24, 2021, 09:41 (GMT)
Fix T86601: Cycles accumulates displacement when transforming an Object

In order to update the BVH when only the transformations are changing,
we would tag the Object's Geometry as modified. However, when
displacement is used, and the vertices were not themselves modified,
this would cause us to redo the displacement on already displaced
vertices.

To fix this, use a specific update flag for detecting and notifying that
transformations were modified.

Regression caused by rBbbe6d44928235cd4a5cfbeaf1a1de78ed861bb92.

Commit Details:

Full Hash: 42198e9eb03bdc5494c3717c6b1643539ef06231
Parent Commit: 6b18678
Lines Changed: +14, -13

4 Modified Paths:

/intern/cycles/render/geometry.cpp (+6, -3) (Diff)
/intern/cycles/render/geometry.h (+2, -0) (Diff)
/intern/cycles/render/object.cpp (+5, -10) (Diff)
/intern/cycles/render/object.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021