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-10-18 07:47:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-18 07:47:28 +0300
commite538b2c3a38f130787ca604b0e0182a74e9d6976 (patch)
tree60fa8f77f52e132d55d62d09cff1be5c4297fd2c /source/blender/makesdna/DNA_sequence_types.h
parentc5a13ffcb4b98bbd46dca7637051a966d18cd46f (diff)
Cleanup: internal sequencer naming for overlays
- Rename RNA SpaceSeq.show_strip_overlay to show_overlays matching the 3D View, the term "strip" was misleading as this is used for the preview as well. - Rename various RNA overlay settings to overlay_frame since "Frame Offset" is a specific feature, avoid having both Editor.show_overlay and SpaceSeq.show_overlays. - Rename Editing `over_*` -> `overlay_frame_*` in DNA, as well as flags.
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-rw-r--r--source/blender/makesdna/DNA_sequence_types.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index e363ed5ddfd..af01bb76680 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -289,9 +289,11 @@ typedef struct Editing {
/** 1024 = FILE_MAX. */
char proxy_dir[1024];
- int over_ofs, over_cfra;
- int over_flag, proxy_storage;
- rctf over_border;
+ int proxy_storage;
+
+ int overlay_frame_ofs, overlay_frame_abs;
+ int overlay_frame_flag;
+ rctf overlay_frame_rect;
struct SeqCache *cache;
@@ -502,9 +504,9 @@ typedef struct SequencerScopes {
#define SELECT 1
-/* Editor->over_flag */
-#define SEQ_EDIT_USE_FRAME_OVERLAY 1
-#define SEQ_EDIT_OVERLAY_ABS 2
+/** #Editor.overlay_frame_flag */
+#define SEQ_EDIT_OVERLAY_FRAME_SHOW 1
+#define SEQ_EDIT_OVERLAY_FRAME_ABS 2
#define SEQ_STRIP_OFSBOTTOM 0.05f
#define SEQ_STRIP_OFSTOP 0.95f