We're gonna work with JSON for a bit

This commit is contained in:
jordan4ibanez 2023-11-26 03:21:28 -05:00
parent 191596bce5
commit 8e4e9e3ae9

View File

@ -27,7 +27,8 @@ bool CB3DJSONMeshFileLoader::isALoadableFileExtension(
const io::path& fileName) const
{
//* we could do multiple accepted extensions, like b3dj jb3d, j3d, etc. Talk with core devs about this.
return core::hasFileExtension(fileName, "b3djson");
//? For now, just JSON because it has vscode linting.
return core::hasFileExtension(fileName, "json");
}
IAnimatedMesh* CB3DJSONMeshFileLoader::createMesh(io::IReadFile* file) {