Update ReaderWriterOSGA.cpp

Fix typo in osga archives which stops node files working
This commit is contained in:
Colin McDonald 2019-09-02 17:43:38 +01:00 committed by Robert Osfield
parent 480e4607a8
commit 06ff29af09

View File

@ -80,7 +80,6 @@ public:
local_options->setDatabasePath(file); local_options->setDatabasePath(file);
ReadResult result_2;
switch (type) { switch (type) {
default: default:
case READ_OBJECT: case READ_OBJECT:
@ -112,7 +111,7 @@ public:
virtual ReadResult readNode(const std::string& file, const Options* options) const virtual ReadResult readNode(const std::string& file, const Options* options) const
{ {
return readMasterFile(READ_IMAGE, file, options); return readMasterFile(READ_NODE, file, options);
} }
virtual ReadResult readShader(const std::string& file, const Options* options) const virtual ReadResult readShader(const std::string& file, const Options* options) const