replace more read*File() usage to readRef*File()

This commit is contained in:
Philippe Renon
2017-11-28 19:51:31 +01:00
parent 284f91b3e0
commit 2acddf66b1
8 changed files with 15 additions and 11 deletions

View File

@@ -170,7 +170,7 @@ int main(int argc, char** argv)
}
// load the data
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFiles(arguments);
osg::ref_ptr<osg::Node> loadedModel = osgDB::readRefNodeFiles(arguments);
if (!loadedModel)
{
std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl;