+ support cutting of coloured mesh

This commit is contained in:
wmayer
2016-01-04 14:39:54 +01:00
parent 80f27ca316
commit b39093fd72
2 changed files with 26 additions and 2 deletions

View File

@@ -679,7 +679,7 @@ unsigned long MeshObject::getPointDegree(const std::vector<unsigned long>& indic
unsigned long countInvalids = std::count_if(pointDeg.begin(), pointDeg.end(),
std::bind2nd(std::equal_to<unsigned long>(), 0));
point_degree = pointDeg;
point_degree.swap(pointDeg);
return countInvalids;
}