Fixed build issues when compiling with OSG_PROVIDE_READFILE to OFF

This commit is contained in:
Robert Osfield
2017-11-27 11:05:31 +00:00
parent 93a5213b99
commit a72a929d12
3 changed files with 10 additions and 8 deletions

View File

@@ -250,7 +250,9 @@ int main(int argc, char** argv)
}
if (arguments.read("--add-axes"))
group->addChild(osgDB::readNodeFile("axes.osgt"));
{
group->addChild(osgDB::readRefNodeFile("axes.osgt"));
}
std::string mode;
if (arguments.read("--character-size-mode", mode))