diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-21 08:49:12 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-21 08:49:12 +0300 |
commit | 33d6d7c6e33fe0380a6e8cc186dd4eeef5c5153a (patch) | |
tree | e9d3a05266c12ea8b700d2e88b6856ec9918945f /source/blender/makesrna | |
parent | ec31f3174936a69f85c1115d32672189b8093a47 (diff) |
VSE: Add 2D cursor overlay option
Since 2D cursor will be used rarely in VSE and it is adding visual
noise, it will be hidden by default.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D12933
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 3255bc30d4c..31d4a91f534 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -5427,6 +5427,11 @@ static void rna_def_space_sequencer_preview_overlay(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_OUTLINE_SELECTED); RNA_def_property_ui_text(prop, "Image Outline", ""); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); + + prop = RNA_def_property(srna, "show_2d_cursor", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_2D_CURSOR); + RNA_def_property_ui_text(prop, "2D cursor", ""); + RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); } static void rna_def_space_sequencer_timeline_overlay(BlenderRNA *brna) |