comment R_SEQ_GL_REND flag, opengl render now does gl previews.
This commit is contained in:
@@ -2339,7 +2339,7 @@ static ImBuf *seq_render_scene_strip(SeqRenderData context, Sequence *seq, float
|
||||
|
||||
const short is_rendering = G.is_rendering;
|
||||
const int do_seq_gl = G.is_rendering ?
|
||||
(context.scene->r.seq_flag & R_SEQ_GL_REND) :
|
||||
0 /* (context.scene->r.seq_flag & R_SEQ_GL_REND) */ :
|
||||
(context.scene->r.seq_flag & R_SEQ_GL_PREV);
|
||||
int do_seq;
|
||||
int have_seq = FALSE;
|
||||
|
@@ -1188,7 +1188,7 @@ typedef struct Scene {
|
||||
|
||||
/* seq_flag */
|
||||
#define R_SEQ_GL_PREV 1
|
||||
#define R_SEQ_GL_REND 2
|
||||
// #define R_SEQ_GL_REND 2 // UNUSED, opengl render has its own operator now.
|
||||
|
||||
/* displaymode */
|
||||
|
||||
|
@@ -3945,10 +3945,11 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "seq_flag", R_SEQ_GL_PREV);
|
||||
RNA_def_property_ui_text(prop, "Sequencer OpenGL", "");
|
||||
|
||||
#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");
|
||||
|
Reference in New Issue
Block a user