mirror of
https://github.com/minetest/irrlicht.git
synced 2025-02-22 13:50:25 +01:00
We're gonna work with JSON for a bit
This commit is contained in:
parent
191596bce5
commit
8e4e9e3ae9
@ -27,7 +27,8 @@ bool CB3DJSONMeshFileLoader::isALoadableFileExtension(
|
|||||||
const io::path& fileName) const
|
const io::path& fileName) const
|
||||||
{
|
{
|
||||||
//* we could do multiple accepted extensions, like b3dj jb3d, j3d, etc. Talk with core devs about this.
|
//* 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) {
|
IAnimatedMesh* CB3DJSONMeshFileLoader::createMesh(io::IReadFile* file) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user