Fem: Remove unused view properties

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

View File

@@ -134,19 +134,19 @@ void ViewProviderFemConstraintFluidBoundary::updateData(const App::Property* pro
std::string boundaryType = pcConstraint->BoundaryType.getValueAsString();
if (prop == &pcConstraint->BoundaryType) {
if (boundaryType == "wall") {
FaceColor.setValue(0.0, 1.0, 1.0);
ShapeAppearance.setDiffuseColor(0.0, 1.0, 1.0);
}
else if (boundaryType == "interface") {
FaceColor.setValue(0.0, 1.0, 0.0);
ShapeAppearance.setDiffuseColor(0.0, 1.0, 0.0);
}
else if (boundaryType == "freestream") {
FaceColor.setValue(1.0, 1.0, 0.0);
ShapeAppearance.setDiffuseColor(1.0, 1.0, 0.0);
}
else if (boundaryType == "inlet") {
FaceColor.setValue(1.0, 0.0, 0.0);
ShapeAppearance.setDiffuseColor(1.0, 0.0, 0.0);
}
else { //(boundaryType == "outlet")
FaceColor.setValue(0.0, 0.0, 1.0);
ShapeAppearance.setDiffuseColor(0.0, 0.0, 1.0);
}
}