Part: fix import of STEP files with colors per face
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user