Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2022-05-03 11:53:20 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-05-03 11:55:05 +0300
commita2e3005b422fe745ee2d53f1c00ca8c443e000c5 (patch)
tree60d2a548b86b67011a53c3291da038ee73efcd6e
parent2ea9d1fccffcea6ec3632a2dab54b335c0a8f393 (diff)
Fix VSE view clamping not working
Clamping was set up, but `v2d->cur` was never actually modified.
-rw-r--r--source/blender/editors/space_sequencer/space_sequencer.c2
1 files changed, 2 insertions, 0 deletions
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)