diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-12-16 12:14:58 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-12-16 17:03:46 +0300 |
commit | 8d590e4b86287be22567d1adf8c6a7946bc7f63d (patch) | |
tree | 1ab1b1f3c2b812d4f7e713db5cc7534b94267df2 /source/blender/blenkernel | |
parent | 8da62a9a86d98676ff0bc4cffd389dcbed7e3071 (diff) |
Fix T83801: UVEditor translation ignores "Pixel Coordinates" and aspect
ratio
Caused by rB4eda60c2d82d.
T83801 reported not moving in pixel space, but even without that toggle
above commit caused the translation to not take apsect ratio into
account properly [a translation of 1 on the x axis for example on an
image with non 1:1 aspect ration caused the UVs to not end up in the
same place on the next 'tile']
Above commit removed 'removeAspectRatio()' [the counterpart of
applyAspectRatio -- which does the pixel coord correction internally]
from 'applyTranslation()'.
This was also reported in T83352 [which was closed by rBf3b08af24c9f --
but that only solved the displax in header, not the actual
transformation]
Now bring back 'removeAspectRatio()'.
Maniphest Tasks: T83801
Differential Revision: https://developer.blender.org/D9869
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions