Updated the plugins so they do the extension checking with a non
case sensitive comparison.
This commit is contained in:
@@ -305,7 +305,7 @@ class ReaderWriterJPEG : public osgDB::ReaderWriter
|
||||
virtual const char* className() { return "JPEG Image Reader"; }
|
||||
virtual bool acceptsExtension(const std::string& extension)
|
||||
{
|
||||
return osgDB::equalCaseInsensitive(extension,"jpeg");
|
||||
return osgDB::equalCaseInsensitive(extension,"jpeg") || osgDB::equalCaseInsensitive(extension,"jpg");
|
||||
}
|
||||
|
||||
virtual ReadResult readImage(const std::string& fileName, const osgDB::ReaderWriter::Options*)
|
||||
|
||||
Reference in New Issue
Block a user