From 3e6f2c7a99fc82b9b9554638b7026e32294b13d9 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Fri, 18 Jun 2021 13:13:48 -0400 Subject: [PATCH] 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` --- source/blender/makesrna/intern/rna_scene.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 2ccc8fe949c..7f23d9bc754 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -6440,12 +6440,6 @@ static void rna_def_scene_render_data(BlenderRNA *brna) /* 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); RNA_def_property_enum_sdna(prop, NULL, "seq_prev_type"); 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"); 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); RNA_def_property_boolean_sdna(prop, NULL, "seq_flag", R_SEQ_OVERRIDE_SCENE_SETTINGS); RNA_def_property_ui_text(prop,