mirror of https://github.com/minetest/irrlicht.git
More debugging
This commit is contained in:
parent
e32f3d8f21
commit
970915669f
|
@ -255,8 +255,9 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::readChunkTEXS() {
|
|||
|
||||
// Convert Windows '\' to Posix '/'.
|
||||
B3DTexture.TextureName.replace('\\','/');
|
||||
println(B3DTexture.TextureName.c_str());
|
||||
|
||||
} else {
|
||||
|
||||
if (t.contains("name") && !t["name"].is_string()) {
|
||||
return {false, "\"name\" in TEXS block index (" + std::to_string(index) +") is not a string."};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue