From a2e3005b422fe745ee2d53f1c00ca8c443e000c5 Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Tue, 3 May 2022 10:53:20 +0200 Subject: Fix VSE view clamping not working Clamping was set up, but `v2d->cur` was never actually modified. --- source/blender/editors/space_sequencer/space_sequencer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c index 2ce237a53f2..f95c5f196b6 100644 --- a/source/blender/editors/space_sequencer/space_sequencer.c +++ b/source/blender/editors/space_sequencer/space_sequencer.c @@ -600,6 +600,8 @@ static void sequencer_main_clamp_view(const bContext *C, ARegion *region) view_clamped.ymin = strip_boundbox.ymin; view_clamped.ymax = min_ff(strip_boundbox.ymax, strip_boundbox.ymin + range_y); } + + v2d->cur = view_clamped; } static void sequencer_main_region_clamp_custom_set(const bContext *C, ARegion *region) -- cgit v1.2.3