Blender Git Commit Log

Git Commits -> Revision 37d450b

Revision 37d450b by Philipp Oeser (blender-v2.91-release)
January 13, 2021, 14:00 (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: 37d450b518f593b0c5b6a634adbf565397d621de
Parent Commit: 13530e8
Committed By: Jeroen Bakker
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