+ fix to load mesh with colours
This commit is contained in:
parent
0e897b86c0
commit
fbd6f9002c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user