mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-15 23:10:26 +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