From 617b83c04fba84e9c0d1289908e0febe09adc09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Wed, 18 Sep 2024 07:09:35 -0300 Subject: [PATCH] Fixed Y Wipe drag. --- src/docs/HISTORY.md | 2 ++ src/lib/mrvGL/mrvTimelineViewportEvents.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/docs/HISTORY.md b/src/docs/HISTORY.md index fd4f4cbd2..51705d5a3 100644 --- a/src/docs/HISTORY.md +++ b/src/docs/HISTORY.md @@ -6,6 +6,8 @@ v1.2.8 - Gain, Saturation and Gamma now effect all videos in a comparison when in Compare Mode. - A/B Wipe Comparison now properly follows the cursor when zoomed in. +- A/B Wipe Comparison now properly follows the cursor on Y (it was reversed + previously). - Fixed and simplified bakeOCIO.py demo script. Now, you can bake OCIO from the command-line by just doing something like: ``` diff --git a/src/lib/mrvGL/mrvTimelineViewportEvents.cpp b/src/lib/mrvGL/mrvTimelineViewportEvents.cpp index 739ac0160..1d84b2377 100644 --- a/src/lib/mrvGL/mrvTimelineViewportEvents.cpp +++ b/src/lib/mrvGL/mrvTimelineViewportEvents.cpp @@ -138,7 +138,7 @@ namespace mrv float dy = pos.y / renderSize.h; p.compareOptions.wipeCenter.x = dx; - p.compareOptions.wipeCenter.y = dy; + p.compareOptions.wipeCenter.y = 1.0F - dy; p.ui->app->filesModel()->setCompareOptions(p.compareOptions); redrawWindows(); }