Fixed typo in acceptsExtension
This commit is contained in:
parent
23ec051821
commit
1b488d6757
@ -91,7 +91,7 @@ class ReaderWriter3DS : public osgDB::ReaderWriter
|
|||||||
ReaderWriter3DS();
|
ReaderWriter3DS();
|
||||||
|
|
||||||
virtual const char* className() const { return "3DS Auto Studio Reader"; }
|
virtual const char* className() const { return "3DS Auto Studio Reader"; }
|
||||||
virtual bool accpettsExtension(const std::string& extension) const { return osgDB::equalCaseInsensitive(extension,"3ds"); }
|
virtual bool acceptsExtension(const std::string& extension) const { return osgDB::equalCaseInsensitive(extension,"3ds"); }
|
||||||
|
|
||||||
virtual ReadResult readNode(const std::string& file, const osgDB::ReaderWriter::Options* options) const;
|
virtual ReadResult readNode(const std::string& file, const osgDB::ReaderWriter::Options* options) const;
|
||||||
|
|
||||||
@ -418,7 +418,6 @@ osg::Node* ReaderWriter3DS::ReaderObject::processNode(StateSetMap drawStateMap,L
|
|||||||
|
|
||||||
osgDB::ReaderWriter::ReadResult ReaderWriter3DS::readNode(const std::string& file, const osgDB::ReaderWriter::Options* options) const
|
osgDB::ReaderWriter::ReadResult ReaderWriter3DS::readNode(const std::string& file, const osgDB::ReaderWriter::Options* options) const
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string ext = osgDB::getLowerCaseFileExtension(file);
|
std::string ext = osgDB::getLowerCaseFileExtension(file);
|
||||||
if (!acceptsExtension(ext)) return ReadResult::FILE_NOT_HANDLED;
|
if (!acceptsExtension(ext)) return ReadResult::FILE_NOT_HANDLED;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user