move maxseq define into DNA.
This commit is contained in:
parent
64aa651b1b
commit
5f62f5c6fe
|
@ -45,8 +45,6 @@ struct Strip;
|
|||
struct StripElem;
|
||||
struct bSound;
|
||||
|
||||
#define MAXSEQ 32
|
||||
|
||||
#define BUILD_SEQAR_COUNT_NOTHING 0
|
||||
#define BUILD_SEQAR_COUNT_CURRENT 1
|
||||
#define BUILD_SEQAR_COUNT_CHILDREN 2
|
||||
|
|
|
@ -238,6 +238,8 @@ typedef struct SpeedControlVars {
|
|||
int lastValidFrame;
|
||||
} SpeedControlVars;
|
||||
|
||||
#define MAXSEQ 32
|
||||
|
||||
#define SELECT 1
|
||||
|
||||
/* Editor->over_flag */
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "DNA_node_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_space_types.h"
|
||||
#include "DNA_sequence_types.h"
|
||||
#include "DNA_view3d_types.h"
|
||||
|
||||
#include "WM_api.h"
|
||||
|
@ -1758,7 +1759,7 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
|
|||
prop= RNA_def_property(srna, "display_channel", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "chanshown");
|
||||
RNA_def_property_ui_text(prop, "Display Channel", "The channel number shown in the image preview. 0 is the result of all strips combined");
|
||||
RNA_def_property_range(prop, -5, 32); // MAXSEQ --- todo, move from BKE_sequencer.h, allow up to 5 layers up the metastack. Should be dynamic...
|
||||
RNA_def_property_range(prop, -5, MAXSEQ);
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_SEQUENCER, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "draw_overexposed", PROP_INT, PROP_NONE);
|
||||
|
|
Loading…
Reference in New Issue