Fem: Remove unused view properties

This commit is contained in:
marioalexis
2024-04-21 00:58:23 -03:00
committed by Chris Hennes
parent 6aabe77a1a
commit 983ac9b238
14 changed files with 48 additions and 83 deletions

View File

@@ -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);
}