[Bf-blender-cvs] [5faa333e788] master: Cleanup: match cursor hide option with naming for the 3D viewport
Campbell Barton
noreply at git.blender.org
Thu Oct 21 08:03:18 CEST 2021
Commit: 5faa333e788c2e752eded396991757d537b1df39
Author: Campbell Barton
Date: Thu Oct 21 17:01:15 2021 +1100
Branches: master
https://developer.blender.org/rB5faa333e788c2e752eded396991757d537b1df39
Cleanup: match cursor hide option with naming for the 3D viewport
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 8d1b43f91f8..9b96cef9de4 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -291,7 +291,7 @@ class SEQUENCER_PT_preview_overlay(Panel):
layout.active = st.show_overlays
layout.prop(overlay_settings, "show_image_outline")
- layout.prop(overlay_settings, "show_2d_cursor")
+ layout.prop(overlay_settings, "show_cursor")
layout.prop(ed, "show_overlay_frame", text="Frame Overlay")
layout.prop(overlay_settings, "show_safe_areas", text="Safe Areas")
layout.prop(overlay_settings, "show_metadata", text="Metadata")
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 31d4a91f534..552aa6ece6c 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -5428,7 +5428,7 @@ static void rna_def_space_sequencer_preview_overlay(BlenderRNA *brna)
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);
+ prop = RNA_def_property(srna, "show_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);
More information about the Bf-blender-cvs
mailing list