From d88a6af8c1b40b09f6fae9d202e76ed5564703e6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 26 Feb 2011 15:52:51 +0000 Subject: [PATCH] Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue. --- src/osgPlugins/ive/DataOutputStream.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/ive/DataOutputStream.cpp b/src/osgPlugins/ive/DataOutputStream.cpp index 18eb24217..ad79a6ff7 100644 --- a/src/osgPlugins/ive/DataOutputStream.cpp +++ b/src/osgPlugins/ive/DataOutputStream.cpp @@ -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()="<className()<