Fix T44715: crash compositing with undefined node due to re-save in older version

This commit is contained in:
Brecht Van Lommel
2015-05-17 13:43:48 +02:00
parent 3b359f1fea
commit b68fa820d6

View File

@@ -137,6 +137,10 @@ Node *Converter::convert(bNode *b_node)
{
Node *node = NULL;
/* ignore undefined nodes with missing or invalid node data */
if (!nodeIsRegistered(b_node))
return NULL;
switch (b_node->type) {
case CMP_NODE_COMPOSITE:
node = new CompositorNode(b_node);