Fix crash in geo_process_node_and_siblings()
This commit is contained in:
parent
d292c026c9
commit
acdcdd3df8
|
@ -1345,6 +1345,11 @@ void geo_process_node_and_siblings(struct GraphNode *firstNode) {
|
|||
iterateChildren = (parent->type != GRAPH_NODE_TYPE_SWITCH_CASE);
|
||||
}
|
||||
|
||||
// sanity check
|
||||
if (firstNode == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
do {
|
||||
if (curGraphNode->flags & GRAPH_RENDER_ACTIVE) {
|
||||
if (curGraphNode->flags & GRAPH_RENDER_CHILDREN_FIRST) {
|
||||
|
|
Loading…
Reference in New Issue