Very fancy

This commit is contained in:
jordan4ibanez 2023-11-28 06:14:29 -05:00
parent 5f607119fc
commit 5b25a4eb64
1 changed files with 10 additions and 5 deletions

View File

@ -190,14 +190,19 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::readChunkTEXS() {
Textures.push_back(SB3dTexture());
SB3dTexture& B3DTexture = Textures.getLast();
// This should probably be it's own function.
// This part should probably be it's own function.
//todo: look into making this it's own function.
}
} else {
// it is malformed.
//todo: return
return {false, "Malformed TEXS block. \"textures\" is not an array."} ;
}
// Everything succeeds, yay!
return {true, nullptr};
}