Blender Git Commit Log

Git Commits -> Revision 8d590e4

Revision 8d590e4 by Philipp Oeser (master)
December 16, 2020, 14:03 (GMT)
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

Commit Details:

Full Hash: 8d590e4b86287be22567d1adf8c6a7946bc7f63d
Parent Commit: 8da62a9
Lines Changed: +3, -0

1 Modified Path:

/source/blender/editors/transform/transform_mode_translate.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021