Added handling of false return
This commit is contained in:
parent
e5c0297167
commit
8f071e055f
@ -132,8 +132,10 @@ namespace osgDot {
|
||||
osg::Node* child = node.getChild( i );
|
||||
//handleNodeAndTraverse( *child );
|
||||
int id2;
|
||||
getOrCreateId( child, id2 );
|
||||
handle( node, *child, id, id2 );
|
||||
if (getOrCreateId( child, id2 ))
|
||||
{
|
||||
handle( node, *child, id, id2 );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user