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:
Diffstat (limited to 'source/blender/editors/transform/transform_snap.c')
-rw-r--r--source/blender/editors/transform/transform_snap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index f1c4c243780..d407cea0033 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -42,6 +42,7 @@
#include "RNA_access.h"
#include "SEQ_sequencer.h"
+#include "SEQ_time.h"
#include "WM_types.h"
@@ -1409,7 +1410,7 @@ void snapSequenceBounds(TransInfo *t, const int mval[2])
const int frame_curr = round_fl_to_int(xmouse);
/* Now find the closest sequence. */
- const int frame_near = BKE_sequencer_find_next_prev_edit(
+ const int frame_near = SEQ_time_find_next_prev_edit(
t->scene, frame_curr, SEQ_SIDE_BOTH, true, false, true);
const int frame_snap = transform_convert_sequencer_get_snap_bound(t);