Geometry: Skip recomputing bounds after translation #106159

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:geometry-bounds-skip-translate into main 2023-03-27 20:51:14 +02:00

1 Commits

Author SHA1 Message Date
Hans Goudey 41ce4cf630 Geometry: Skip recomputing bounds after translation
buildbot/vexp-code-patch-coordinator Build done. Details
Translating meshes, point clouds, and curves and recomputing the bounds
is equivalent to just translating the bounds. Now that mesh primitive
nodes calculate their bounds in constant time, it's worth updating the
bounds eagerly when translating a geometry since doing so should be
very cheap and might save a more significant amount of time if they're
needed later.
2023-03-26 21:27:13 -04:00