Page MenuHome

Cleanup: Refactor VSE overlay settings
ClosedPublic

Authored by Richard Antalik (ISS) on Sep 20 2021, 2:52 PM.

Details

Summary

Move overlay flags into SequencerPreviewOverlay and
SequencerTimelineOverlay structs.

Diff Detail

Repository
rB Blender

Event Timeline

Richard Antalik (ISS) requested review of this revision.Sep 20 2021, 2:52 PM
Richard Antalik (ISS) created this revision.
This revision is now accepted and ready to land.Sep 20 2021, 3:22 PM
source/blender/makesdna/DNA_space_types.h
586–589

There could be a prefix to differentiate timeline and overlay:

eg: SEQ_PRV_* SEQ_TIMELINE_, so these flags aren't accidentally swapped between the wrong overlay types.

source/blender/makesdna/DNA_space_types.h
586–589

Checking 3D view naming, perhaps e.g. V3D_OVERLAY_EDIT_OCCLUDE_WIRE, this would be more consistent:

  • SEQ_OVERLAY_PREVIEW_*
  • SEQ_OVERLAY_TIMELINE_*
This revision was automatically updated to reflect the committed changes.
source/blender/makesdna/DNA_space_types.h
586–589

Oops, too late, I guess it would look nicer, but these are flags of overlay struct anyway, so I thought that would be redundant.