This website requires JavaScript.
Explore
Help
Sign In
Scarfski
/
assimp
Watch
1
Star
0
Fork
0
You've already forked assimp
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
ec1333bfdf4fc2d5db7edb769d617e8dfa88e4d5
assimp
/
code
/
ObjFileImporter.cpp
Max Vollmer
52c017b595
Added check to BaseImporter::SearchFileHeaderForToken making sure that a detected token is not in fact just a fraction of a longer token. Microsoft exported binary gltf files were detected as OBJ, because the "gltf " in the string "Microsoft GLTF Exporter 2.4.1.7" was detected as the token "f ". I added a new bool parameter to the method enabling this check. It's default false, and only ObjFileImporter sets it to true, so no other code should be affected.
2018-06-25 12:05:37 +02:00
28 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink