diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-02 14:21:53 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-02 14:21:53 +0300 |
commit | 0d12e086f5dda74d43e3a2d011bfc848c95136de (patch) | |
tree | ca0a56662a5308ec6f937b8a421f5b2bcaa20b93 /source/blender/editors/space_node/drawnode.c | |
parent | 36f35268b3cd36f346264d599ef1b97bee66ee58 (diff) |
Fix T47564: Unwrapping the same mesh results in different UVs.
Pointers of faces were passed as face keys during parametrizer's face creation. Since those
addresses were different for every run, the layout of the faces ended up being different
in the internal hash, leading to inconsistent order of their evaluation during LSCM solving,
and slightly different UV maps.
Solved by simply using faces' indices as key instead, which ensures we always get same results
with exact same input data now.
Many thanks to Roman Nagornov (RomanN) for raising the issue, investigating it and finding
the solution! And thanks to Brecht for quick review too.
Diffstat (limited to 'source/blender/editors/space_node/drawnode.c')
0 files changed, 0 insertions, 0 deletions