Fix T88100: Crash going to shading tab
This commit is contained in:
parent
6b46e9e524
commit
23acca0c32
Notes:
blender-bot
2023-02-14 05:36:11 +01:00
Referenced by issue #88100, Crash going to shading tab (probably elsewhere, too)
|
@ -40,15 +40,17 @@ struct GSetIterator;
|
|||
|
||||
#define SEQ_ALL_BEGIN(ed, var) \
|
||||
{ \
|
||||
SeqCollection *all_strips = SEQ_query_all_strips_recursive(&ed->seqbase); \
|
||||
GSetIterator gsi; \
|
||||
GSET_ITER (gsi, all_strips->set) { \
|
||||
var = (Sequence *)(BLI_gsetIterator_getKey(&gsi));
|
||||
if (ed != NULL) { \
|
||||
SeqCollection *all_strips = SEQ_query_all_strips_recursive(&ed->seqbase); \
|
||||
GSetIterator gsi; \
|
||||
GSET_ITER (gsi, all_strips->set) { \
|
||||
var = (Sequence *)(BLI_gsetIterator_getKey(&gsi));
|
||||
|
||||
#define SEQ_ALL_END \
|
||||
} \
|
||||
SEQ_collection_free(all_strips); \
|
||||
} \
|
||||
} \
|
||||
((void)0)
|
||||
|
||||
typedef struct SeqCollection {
|
||||
|
|
Loading…
Reference in New Issue