Cleanup: Use unique_ptr, references for UV aabb islands #108510

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:cleanup-uv-aabb-unique-ptr into main 2023-06-01 14:13:35 +02:00

1 Commits

Author SHA1 Message Date
Hans Goudey 62a4fcfbc1 Cleanup: Use unique_ptr, references for UV aabb islands
Using unique_ptr is typically the better practice since it makes memory
management automatic and makes ownership clear. Also use references
when retrieving items from the span, and don't unnecessarily specify
specific lambda captures.
2023-06-01 06:39:41 -04:00