Cleanup: use 'use_' prefix for RNA booleans
This commit is contained in:
@@ -327,7 +327,7 @@ class SEQUENCER_MT_view(Menu):
|
||||
if is_preview:
|
||||
layout.separator()
|
||||
if st.display_mode == 'IMAGE':
|
||||
layout.prop(st, "zoom_to_fit")
|
||||
layout.prop(st, "use_zoom_to_fit")
|
||||
layout.prop(ed, "show_overlay", text="Show Frame Overlay")
|
||||
layout.prop(st, "show_safe_areas", text="Show Safe Areas")
|
||||
layout.prop(st, "show_metadata", text="Show Metadata")
|
||||
|
||||
@@ -4796,7 +4796,7 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "Waveform Displaying", "How Waveforms are drawn");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "zoom_to_fit", PROP_BOOLEAN, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "use_zoom_to_fit", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_ZOOM_TO_FIT);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Zoom to Fit", "Automatically zoom preview image to make it fully fit the region");
|
||||
|
||||
Reference in New Issue
Block a user