diff --git a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp index 96e0805b..2df5cecd 100644 --- a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp +++ b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp @@ -250,6 +250,9 @@ std::tuple CB3DJSONMeshFileLoader::readChunkBRUS() { Materials.push_back(SB3dMaterial()); SB3dMaterial& B3DMaterial = Materials.getLast(); + // This part should probably be it's own function. + //todo: look into making this it's own function. + //* Red. if (b.contains("red") && b["red"].is_number()) { B3DMaterial.red = b["red"];