chore: Fix formatting for missing file
This commit is contained in:
committed by
Chris Hennes
parent
02bf9b2292
commit
28b603ad6c
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user