mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-16 07:20:25 +01:00
Note
This commit is contained in:
parent
da18594daf
commit
77b0021dd9
|
@ -250,6 +250,9 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::readChunkBRUS() {
|
||||||
Materials.push_back(SB3dMaterial());
|
Materials.push_back(SB3dMaterial());
|
||||||
SB3dMaterial& B3DMaterial = Materials.getLast();
|
SB3dMaterial& B3DMaterial = Materials.getLast();
|
||||||
|
|
||||||
|
// This part should probably be it's own function.
|
||||||
|
//todo: look into making this it's own function.
|
||||||
|
|
||||||
//* Red.
|
//* Red.
|
||||||
if (b.contains("red") && b["red"].is_number()) {
|
if (b.contains("red") && b["red"].is_number()) {
|
||||||
B3DMaterial.red = b["red"];
|
B3DMaterial.red = b["red"];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user