Fix crash in geo_process_node_and_siblings()
This commit is contained in:
parent
8abae8d26b
commit
91b26646e0
|
@ -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