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:
authorSergey Sharybin <sergey@blender.org>2020-08-12 13:36:19 +0300
committerSergey Sharybin <sergey@blender.org>2020-08-13 16:24:21 +0300
commitc27123632bb4e40a36785dea148dcf0a00dce019 (patch)
treecd0e747f8c999a74deafea8dfb3aec97c72181e3 /source/blender/editors/space_sequencer
parentb89521de21be1a31c6dbfa186cf5512922a6ed36 (diff)
View2D: Centralize handling of changes to v2d->cur
Currently there are no functional changes, preparing code to add more functionality which is to be run from navigation/zoom operators.
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_view.c b/source/blender/editors/space_sequencer/sequencer_view.c
index c1dac30bcb6..2b9370970de 100644
--- a/source/blender/editors/space_sequencer/sequencer_view.c
+++ b/source/blender/editors/space_sequencer/sequencer_view.c
@@ -154,7 +154,7 @@ static int sequencer_view_all_preview_exec(bContext *C, wmOperator *UNUSED(op))
View2D *v2d = UI_view2d_fromcontext(C);
v2d->cur = v2d->tot;
- UI_view2d_curRect_validate(v2d);
+ UI_view2d_curRect_changed(C, v2d);
UI_view2d_sync(screen, area, v2d, V2D_LOCK_COPY);
#if 0