From 58a9af212ace21aed6a9e836da5af35952b0dfd4 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Sat, 1 Apr 2023 14:07:20 +0200 Subject: [PATCH] Sketcher: do not apply line/edge color preference to existing sketches, fixes #8188 --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 873e5d653f..053a1a62dd 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -221,10 +221,6 @@ void ViewProviderSketch::ParameterObserver::initParameters() {[this](const std::string & string, App::Property * property){ updateBoolProperty(string, property, true);}, &Client.Autoconstraints }}, {"AvoidRedundantAutoconstraints", {[this](const std::string & string, App::Property * property){ updateBoolProperty(string, property, true);}, &Client.AvoidRedundant }}, - {"SketchEdgeColor", - {[this](const std::string & string, App::Property * property){ updateColorProperty(string, property, 1.f, 1.f, 1.f);}, &Client.LineColor }}, - {"SketchVertexColor", - {[this](const std::string & string, App::Property * property){ updateColorProperty(string, property, 1.f, 1.f, 1.f);}, &Client.PointColor }}, {"updateEscapeKeyBehaviour", {[this](const std::string & string, App::Property * property){ updateEscapeKeyBehaviour(string, property);}, nullptr }}, {"AutoRecompute",