Cleanup: use 'use_' prefix for RNA boolean
This commit is contained in:
parent
1e23304fbc
commit
0b5cf91b89
|
@ -439,7 +439,7 @@ class SEQUENCER_MT_view(Menu):
|
|||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
layout.operator("sequencer.view_all")
|
||||
layout.operator("view2d.zoom_border", text="Zoom")
|
||||
layout.prop(st, "clamp_view")
|
||||
layout.prop(st, "use_clamp_view")
|
||||
|
||||
if is_preview:
|
||||
layout.operator_context = 'INVOKE_REGION_PREVIEW'
|
||||
|
|
|
@ -5739,7 +5739,7 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
|
|||
prop, "Use Proxies", "Use optimized files for faster scrubbing when available");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, "rna_SequenceEditor_update_cache");
|
||||
|
||||
prop = RNA_def_property(srna, "clamp_view", PROP_BOOLEAN, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "use_clamp_view", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_CLAMP_VIEW);
|
||||
RNA_def_property_boolean_funcs(
|
||||
prop, "rna_SequenceEditor_clamp_view_get", "rna_SequenceEditor_clamp_view_set");
|
||||
|
|
Loading…
Reference in New Issue