mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-16 07:20:25 +01:00
Begin textures in BRUS
This commit is contained in:
parent
30e46b5ead
commit
206df1f545
|
@ -334,6 +334,16 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::readChunkBRUS() {
|
|||
return {false, "BRUS: Element (" + std::to_string(index) + ") \"fx\" is not an integer."};
|
||||
}
|
||||
|
||||
//* Textures Array.
|
||||
if (b.contains("textures") && b["textures"].is_array()) {
|
||||
|
||||
|
||||
} else {
|
||||
if (!b.contains("textures")) {
|
||||
return {false, "BRUS: Element (" + std::to_string(index) + ") is missing \"textures\"."};
|
||||
}
|
||||
return {false, "BRUS: Element (" + std::to_string(index) + ") is not an array."};
|
||||
}
|
||||
index++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user