[Part] Fix regression when opening...

project files with linked objects having face colors.
See discussion https://forum.freecad.org/viewtopic.php?t=79558
Regression commit: cbc5c182cf
This commit is contained in:
Syres916
2023-07-11 00:20:27 +01:00
committed by GitHub
parent 72be73fc4e
commit 37b08b962c

View File

@@ -1278,6 +1278,11 @@ void ViewProviderPartExt::updateVisual()
(void)numEdges;
# endif
VisualTouched = false;
// The material has to be checked again
setHighlightedFaces(DiffuseColor.getValues());
setHighlightedEdges(LineColorArray.getValues());
setHighlightedPoints(PointColorArray.getValue());
}
void ViewProviderPartExt::forceUpdate(bool enable) {