fix material binding of indexed lineset when highlighting an edge

This commit is contained in:
wmayer
2017-04-17 19:02:11 +02:00
parent ceb519b737
commit 4866d3595f
2 changed files with 4 additions and 5 deletions

View File

@@ -153,10 +153,7 @@ void ViewProviderGeomFillSurface::highlightReferences(bool on)
svp->setHighlightedEdges(colors);
}
else {
std::vector<App::Color> colors;
colors.push_back(svp->LineColor.getValue());
svp->setHighlightedEdges(colors);
//svp->unsetHighlightedEdges();
svp->unsetHighlightedEdges();
}
}
}