chore: Fix formatting for missing file

This commit is contained in:
pre-commit-ci[bot]
2025-11-17 23:12:09 +01:00
committed by Chris Hennes
parent 02bf9b2292
commit 28b603ad6c

View File

@@ -196,8 +196,7 @@ void ViewProviderGeometryObject::updateData(const App::Property* prop)
App::Material defaultMaterial;
auto material = geometry->getMaterialAppearance();
if ((ShapeAppearance.getSize() == 1)
&& (ShapeAppearance[0] == defaultMaterial
|| ShapeAppearance[0] == materialAppearance)
&& (ShapeAppearance[0] == defaultMaterial || ShapeAppearance[0] == materialAppearance)
&& (material != defaultMaterial)) {
ShapeAppearance.setValue(material);
}