Page MenuHome

Fix T85194: Smart UV does not respect "Correct Aspect" correctly
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Jan 29 2021, 2:55 PM.

Details

Summary

This lead to wrong, stretched UVs regardless of the ON/OFF state of
"Correct Aspect" option (some code in the operator respected this
setting properly, whereas it was hardcoded in another part).

Before rB9296ba867462, uvedit_pack_islands_multi was always called
with correct_aspect = false for the UnwrapOptions.
After rB9296ba867462, ED_uvedit_pack_islands_multi was always called
with correct_aspect = true for the UVPackIsland_Params.

Both seem wrong [in that they do not take the operator setting into
account]. Now respect that setting [same as the following
uv_map_clip_correct_multi does as well btw.]

Now results match 2.90 [where this was still python] perfectly.

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Jan 29 2021, 2:55 PM
Philipp Oeser (lichtwerk) created this revision.
Philipp Oeser (lichtwerk) added projects: Restricted Project, Modeling.Jan 29 2021, 2:56 PM
This revision is now accepted and ready to land.Feb 2 2021, 9:04 AM