Skip to content

Commit bda19e4

Browse files
authored
Update MeshLoad.cpp
1 parent 79f5e5f commit bda19e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CrossPlatform/MeshLoad.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static void ConvertMaterial(RenderPlatform *renderPlatform, std::shared_ptr<Mate
110110
}
111111
if (p->mDataLength == 12)
112112
{
113-
vec4 result = Colour3(p->mKey.C_Str());
113+
vec4 result = Colour4(p->mKey.C_Str());
114114
#if PLATFORM_DEBUG_MATERIAL_LOAD
115115
std::cout << " " << result.x << "," << result.y << "," << result.z;
116116
#endif
@@ -400,4 +400,4 @@ void Mesh::Load(const char *filenameUtf8, float scale, AxesStandard fromStandard
400400
SIMUL_CERR_ONCE << "Can't load " << filenameUtf8 << " - no importer enabled." << std::endl;
401401
}
402402

403-
#endif
403+
#endif

0 commit comments

Comments
 (0)