Cleanup: Remove dead code
This code was disabled in 2.8 and all other associated code/comments have been removed/cleared. These rna properties have been replaced with `seq_prev_type`
This commit is contained in:
@@ -6440,12 +6440,6 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
|||||||
|
|
||||||
/* sequencer draw options */
|
/* sequencer draw options */
|
||||||
|
|
||||||
# if 0 /* see R_SEQ_GL_REND comment */
|
|
||||||
prop = RNA_def_property(srna, "use_sequencer_gl_render", PROP_BOOLEAN, PROP_NONE);
|
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "seq_flag", R_SEQ_GL_REND);
|
|
||||||
RNA_def_property_ui_text(prop, "Sequencer OpenGL", "");
|
|
||||||
# endif
|
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "sequencer_gl_preview", PROP_ENUM, PROP_NONE);
|
prop = RNA_def_property(srna, "sequencer_gl_preview", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "seq_prev_type");
|
RNA_def_property_enum_sdna(prop, NULL, "seq_prev_type");
|
||||||
RNA_def_property_enum_items(prop, rna_enum_shading_type_items);
|
RNA_def_property_enum_items(prop, rna_enum_shading_type_items);
|
||||||
@@ -6453,15 +6447,6 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
|||||||
prop, "Sequencer Preview Shading", "Display method used in the sequencer view");
|
prop, "Sequencer Preview Shading", "Display method used in the sequencer view");
|
||||||
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SceneSequencer_update");
|
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SceneSequencer_update");
|
||||||
|
|
||||||
# if 0 /* UNUSED, see R_SEQ_GL_REND comment */
|
|
||||||
prop = RNA_def_property(srna, "sequencer_gl_render", PROP_ENUM, PROP_NONE);
|
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "seq_rend_type");
|
|
||||||
RNA_def_property_enum_items(prop, rna_enum_shading_type_items);
|
|
||||||
/* XXX Label and tooltips are obviously wrong! */
|
|
||||||
RNA_def_property_ui_text(
|
|
||||||
prop, "Sequencer Preview Shading", "Display method used in the sequencer view");
|
|
||||||
# endif
|
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "use_sequencer_override_scene_strip", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "use_sequencer_override_scene_strip", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "seq_flag", R_SEQ_OVERRIDE_SCENE_SETTINGS);
|
RNA_def_property_boolean_sdna(prop, NULL, "seq_flag", R_SEQ_OVERRIDE_SCENE_SETTINGS);
|
||||||
RNA_def_property_ui_text(prop,
|
RNA_def_property_ui_text(prop,
|
||||||
|
Reference in New Issue
Block a user