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
path: root/source
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-11-17 07:43:34 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-11-17 07:43:34 +0300
commite3c974b7e4ff726c016f9bfddaa44539ae41049f (patch)
treef87280278ced1415eae847b6965646e312e27594 /source
parentecad33f214f5c397d69a37b7325eab1f2b47bf99 (diff)
parent6e6123b40f388a62dcb2268f1a87bee4410f995d (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/animation/anim_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 8232df968ed..1e60a129535 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -149,7 +149,7 @@ static void change_frame_apply(bContext *C, wmOperator *op)
bool do_snap = RNA_boolean_get(op->ptr, "snap");
if (do_snap) {
- if (CTX_wm_space_seq(C)) {
+ if (CTX_wm_space_seq(C) && SEQ_editing_get(scene) != NULL) {
frame = seq_frame_apply_snap(C, scene, frame);
}
else {