diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-06-13 21:12:35 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-06-13 21:12:35 +0300 |
commit | 1c5f09e8a8fcaeb85b0d423533ec5601473ab824 (patch) | |
tree | b36c5b6bc27a0fa549c6b47315b76a4a01c4493b /source/blender/editors | |
parent | 1243c2bdae39a0d3f7644e39e24d2cc3e901e03b (diff) |
Fix T93469: Image not moving in proportion to mouse
Apply scale factor when preview aspect ratio is not 1:1.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_convert_sequencer_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_convert_sequencer_image.c b/source/blender/editors/transform/transform_convert_sequencer_image.c index fe87f0cc288..76c6632039a 100644 --- a/source/blender/editors/transform/transform_convert_sequencer_image.c +++ b/source/blender/editors/transform/transform_convert_sequencer_image.c @@ -223,6 +223,7 @@ void recalcData_sequencer_image(TransInfo *t) copy_v2_v2(translation, tdseq->orig_origin_position); sub_v2_v2(translation, origin); mul_v2_v2(translation, mirror); + translation[0] *= t->scene->r.yasp / t->scene->r.xasp; transform->xofs = tdseq->orig_translation[0] - translation[0]; transform->yofs = tdseq->orig_translation[1] - translation[1]; |