Had to fix spacing and bracket position yet again...
This commit is contained in:
committed by
GitHub
parent
518048bc64
commit
4d4b02848b
@@ -310,14 +310,16 @@ osgDB::ReaderWriter::ReadResult ZipArchive::readNode(const std::string& file,con
|
||||
|
||||
return rresult;
|
||||
}
|
||||
osgDB::ReaderWriter::ReadResult ZipArchive::readScript(const std::string& file,const osgDB::ReaderWriter::Options* options) const{
|
||||
|
||||
osgDB::ReaderWriter::ReadResult ZipArchive::readScript(const std::string& file,const osgDB::ReaderWriter::Options* options) const
|
||||
{
|
||||
osgDB::ReaderWriter::ReadResult rresult = osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED;
|
||||
|
||||
std::string ext = osgDB::getLowerCaseFileExtension(file);
|
||||
if (!_zipLoaded || !acceptsExtension(ext)) return osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED;
|
||||
|
||||
const ZIPENTRY* ze = GetZipEntry(file);
|
||||
if(ze != NULL)
|
||||
if (ze != NULL)
|
||||
{
|
||||
std::stringstream buffer;
|
||||
|
||||
@@ -342,8 +344,6 @@ osgDB::ReaderWriter::ReadResult ZipArchive::readScript(const std::string& file,c
|
||||
return rresult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
osgDB::ReaderWriter::ReadResult ZipArchive::readShader(const std::string& file,const osgDB::ReaderWriter::Options* options) const
|
||||
{
|
||||
osgDB::ReaderWriter::ReadResult rresult = osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED;
|
||||
|
||||
Reference in New Issue
Block a user