Blender Git Commit Log
Git Commits -> Revision ea12df5
Revision ea12df5 by Kévin Dietrich (master) March 26, 2021, 09:50 (GMT) |
Fix T86939: Cycles objects bounds not updated when transforming objects As a rather premature optimization from rBbbe6d4492823, Object bounds were only computed when either the Object or its Geometry were modified. Prior to rB42198e9eb03b, this would work, as the Geometry was tagged as modified if the Object's transform was also modified. Since this tagging is not done anymore due to side effects, and since at the time bounds are computed Objects were already processed and tag as unmodified, the check on the modified status was always false. For now remove this check, so the bounds are always unconditionally updated. If this ever becomes a performance problem in large scenes with motion blur, we will then try to find a way to nicely optimize it. This would only affect BHV2 as OptiX and Embree handle object bounds themselves. |
Commit Details:
Full Hash: ea12df51b8da5cc1a7b9e1b923d24c4a54bf2c13
Parent Commit: d982ea9
Lines Changed: +0, -4
1 Modified Path:
/intern/cycles/render/object.cpp (+0, -4) (Diff)