Cleanup: Pass UV offset in UV edit code #105904

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:cleanup-uv-pass-offset into main 2023-03-20 21:10:06 +01:00

1 Commits

Author SHA1 Message Date
Hans Goudey b56412c7fc Cleanup: Pass UV offset in UV edit code
As part of #105779, the active status of UV maps won't be stored in
CustomData anymore, so it has to be retrieved from a higher level.
The best way to do that is to retrieve it once and pass around the BMesh
custom data offset as a "key" to the data. This should also decrease
function call overhead in this code (not that it was a bottleneck).
2023-03-19 14:52:32 -04:00