+ fix to load mesh with colours

This commit is contained in:
wmayer 2016-02-13 20:01:47 +01:00
parent 0e897b86c0
commit fbd6f9002c

View File

@ -218,7 +218,7 @@ private:
MeshObject mesh;
MeshCore::Material mat;
if (mesh.load(EncodedName.c_str())) {
if (mesh.load(EncodedName.c_str(), &mat)) {
Base::FileInfo file(EncodedName.c_str());
unsigned long segmct = mesh.countSegments();
if (segmct > 1) {