[Bugfix]Sketcher: edge/point colors in preferences aren't took into account

Regression introduced by 58a9af2 (PR #9151)
This commit is contained in:
0penBrain
2023-04-10 10:00:13 +02:00
parent d3f8132273
commit 01e0948a2a

View File

@@ -260,6 +260,8 @@ void ViewProviderSketch::ParameterObserver::initParameters()
}
// unsubscribed parameters which update a property on just once upon construction (and before restore if properties are being restored from a file)
updateColorProperty("SketchEdgeColor", &Client.LineColor, 1.0f, 1.0f, 1.0f);
updateColorProperty("SketchVertexColor", &Client.PointColor, 1.0f, 1.0f, 1.0f);
updateBoolProperty("ShowGrid", &Client.ShowGrid, false);
updateBoolProperty("GridAuto", &Client.GridAuto, true);
updateGridSize("GridSize", &Client.GridSize);