Update ReaderWriterOSGA.cpp
Fix typo in osga archives which stops node files working
This commit is contained in:
parent
480e4607a8
commit
06ff29af09
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user