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:
authorCampbell Barton <ideasman42@gmail.com>2021-06-22 10:03:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-22 10:03:22 +0300
commit6a3bd04e4290b2fb262a71ec0009520833e41e33 (patch)
treee45cc5f423643e1982176cf1ea5abadef76f1238 /source/blender/editors/space_sequencer/sequencer_edit.c
parent8af2c87f7e82f7abff8217c6de458a743be91f85 (diff)
Cleanup: rename playhead in the UI and code
Current convention is not to use this term, use "current frame", and "timeline frame" in render.c as this is the argument passed in.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 4c8b44864f9..937ac6b9dcb 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -2486,7 +2486,7 @@ static int sequencer_paste_exec(bContext *C, wmOperator *op)
min_seq_startdisp = seq->startdisp;
}
}
- /* Paste strips after playhead. */
+ /* Paste strips relative to the current-frame. */
ofs = scene->r.cfra - min_seq_startdisp;
}
@@ -2539,7 +2539,11 @@ void SEQUENCER_OT_paste(wmOperatorType *ot)
/* Properties. */
PropertyRNA *prop = RNA_def_boolean(
- ot->srna, "keep_offset", false, "Keep Offset", "Keep strip offset to playhead when pasting");
+ ot->srna,
+ "keep_offset",
+ false,
+ "Keep Offset",
+ "Keep strip offset relative to the current frame when pasting");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}