Part: fix import of STEP files with colors per face

This commit is contained in:
wmayer
2024-04-08 20:12:16 +02:00
parent 92ac3cc0d3
commit e87180b245

View File

@@ -844,11 +844,6 @@ void ViewProviderPartExt::updateData(const App::Property* prop)
}
}
}
if (propName && strcmp(propName, "Shape") == 0) {
// Reapply the appearance
const App::Material& Mat = ShapeAppearance[0];
setSoMaterial(Mat);
}
Gui::ViewProviderGeometryObject::updateData(prop);
}