Fem: Remove unused view properties
This commit is contained in:
committed by
Chris Hennes
parent
6aabe77a1a
commit
983ac9b238
@@ -99,10 +99,10 @@ void ViewProviderFemConstraintOnBoundary::highlightReferences(const bool on)
|
||||
std::vector<App::Color> colors = originalFaceColors[base];
|
||||
|
||||
// go through the subelements with constraint and recolor them
|
||||
// TODO: Replace `FaceColor` with anything more appropriate
|
||||
PartGui::ReferenceHighlighter highlighter(base->Shape.getValue(),
|
||||
colors.empty() ? FaceColor.getValue()
|
||||
: colors[0]);
|
||||
// TODO: Replace shape DiffuseColor with anything more appropriate
|
||||
PartGui::ReferenceHighlighter highlighter(
|
||||
base->Shape.getValue(),
|
||||
colors.empty() ? ShapeAppearance.getDiffuseColor() : colors[0]);
|
||||
highlighter.getFaceColors(subSet.second, colors);
|
||||
vp->DiffuseColor.setValues(colors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user