[Bf-blender-cvs] [3e6f2c7a99f] master: Cleanup: Remove dead code
Aaron Carlisle
noreply at git.blender.org
Fri Jun 18 19:54:34 CEST 2021
Commit: 3e6f2c7a99fc82b9b9554638b7026e32294b13d9
Author: Aaron Carlisle
Date: Fri Jun 18 13:13:48 2021 -0400
Branches: master
https://developer.blender.org/rB3e6f2c7a99fc82b9b9554638b7026e32294b13d9
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`
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
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,
More information about the Bf-blender-cvs
mailing list