Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue.
This commit is contained in:
@@ -1410,7 +1410,10 @@ void DataOutputStream::writeNode(const osg::Node* node)
|
||||
((ive::LightPointNode*)(node))->write(this);
|
||||
}
|
||||
else
|
||||
throwException("Unknown node in Group::write()");
|
||||
{
|
||||
OSG_WARN<<"Unknown node in Group::write(), className()="<<node->className()<<std::endl;
|
||||
// throwException(std::string("Unknown node in Group::write(), className()=")+node->className());
|
||||
}
|
||||
|
||||
if (_verboseOutput) std::cout<<"read/writeNode() ["<<id<<"]"<<std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user