From 48cb15015fc1e790edea56fcc1188b2940c36d07 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 16 Apr 2003 12:46:06 +0000 Subject: [PATCH] Add a check for the result to writeNodeFile(). --- examples/osgconv/osgconv.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/osgconv/osgconv.cpp b/examples/osgconv/osgconv.cpp index 68c8b307a..6d5730325 100644 --- a/examples/osgconv/osgconv.cpp +++ b/examples/osgconv/osgconv.cpp @@ -236,8 +236,10 @@ int main( int argc, char **argv ) if (root.valid()) { - osgDB::writeNodeFile(*root,fileNameOut); - osg::notify(osg::NOTICE)<<"Data written to '"<