Reduce faces
parent
b7499199c8
commit
e9d0696be6
|
@ -283,8 +283,10 @@ void MeshGenerator::process()
|
||||||
mergedMeshId = unionMeshs(meshliteContext, meshIds, &errorCount);
|
mergedMeshId = unionMeshs(meshliteContext, meshIds, &errorCount);
|
||||||
if (errorCount)
|
if (errorCount)
|
||||||
broken = true;
|
broken = true;
|
||||||
//else if (mergedMeshId > 0)
|
else if (mergedMeshId > 0)
|
||||||
// mergedMeshId = meshlite_combine_coplanar_faces(meshliteContext, mergedMeshId);
|
mergedMeshId = meshlite_combine_coplanar_faces(meshliteContext, mergedMeshId);
|
||||||
|
if (mergedMeshId > 0)
|
||||||
|
mergedMeshId = meshlite_fix_hole(meshliteContext, mergedMeshId);
|
||||||
} else if (meshIds.size() > 0) {
|
} else if (meshIds.size() > 0) {
|
||||||
mergedMeshId = meshIds[0];
|
mergedMeshId = meshIds[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue