diff --git a/src/Mod/Sketcher/Gui/SketcherSettings.cpp b/src/Mod/Sketcher/Gui/SketcherSettings.cpp
index dbf99822e7..63fd0a0cc2 100644
--- a/src/Mod/Sketcher/Gui/SketcherSettings.cpp
+++ b/src/Mod/Sketcher/Gui/SketcherSettings.cpp
@@ -261,6 +261,10 @@ void SketcherSettingsColors::saveSettings()
ui->ExternalColor->onSave();
ui->FullyConstrainedColor->onSave();
ui->InternalAlignedGeoColor->onSave();
+ ui->FullyConstraintElementColor->onSave();
+ ui->FullyConstraintConstructionElementColor->onSave();
+ ui->FullyConstraintInternalAlignmentColor->onSave();
+ ui->FullyConstraintConstructionPointColor->onSave();
ui->ConstrainedColor->onSave();
ui->NonDrivingConstraintColor->onSave();
@@ -288,6 +292,10 @@ void SketcherSettingsColors::loadSettings()
ui->ExternalColor->onRestore();
ui->FullyConstrainedColor->onRestore();
ui->InternalAlignedGeoColor->onRestore();
+ ui->FullyConstraintElementColor->onRestore();
+ ui->FullyConstraintConstructionElementColor->onRestore();
+ ui->FullyConstraintInternalAlignmentColor->onRestore();
+ ui->FullyConstraintConstructionPointColor->onRestore();
ui->ConstrainedColor->onRestore();
ui->NonDrivingConstraintColor->onRestore();
diff --git a/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui b/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui
index 895c864824..253960cf86 100644
--- a/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui
+++ b/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui
@@ -320,6 +320,138 @@
-
+
+
+
+ 182
+ 0
+
+
+
+ Fully constrained edit edge color
+
+
+
+ -
+
+
+ Color of fully constrained edge color in edit mode
+
+
+
+ 128
+ 208
+ 160
+
+
+
+ FullyConstraintElementColor
+
+
+ View
+
+
+
+ -
+
+
+
+ 182
+ 0
+
+
+
+ Fully constrained edit construction edge color
+
+
+
+ -
+
+
+ Color of fully constrained construction edge color in edit mode
+
+
+
+ 143
+ 169
+ 253
+
+
+
+ FullyConstraintConstructionElementColor
+
+
+ View
+
+
+
+ -
+
+
+
+ 182
+ 0
+
+
+
+ Fully constrained edit internal alignment edge color
+
+
+
+ -
+
+
+ Color of fully constrained internal alignment edge color in edit mode
+
+
+
+ 222
+ 222
+ 200
+
+
+
+ FullyConstraintInternalAlignmentColor
+
+
+ View
+
+
+
+ -
+
+
+
+ 182
+ 0
+
+
+
+ Fully constrained edit vertex color
+
+
+
+ -
+
+
+ Color of fully constrained vertex color in edit mode
+
+
+
+ 255
+ 149
+ 128
+
+
+
+ FullyConstraintConstructionPointColor
+
+
+ View
+
+
+
+ -
@@ -332,7 +464,7 @@
- -
+
-
Color of driving constraints in edit mode
@@ -352,14 +484,14 @@
- -
+
-
Reference constraint color
- -
+
-
Color of reference constraints in edit mode
@@ -379,14 +511,14 @@
- -
+
-
Expression dependent constraint color
- -
+
-
Color of expression dependent constraints in edit mode
@@ -406,14 +538,14 @@
- -
+
-
Deactivated constraint color
- -
+
-
Color of deactivated constraints in edit mode
@@ -433,7 +565,7 @@
- -
+
-
@@ -446,7 +578,7 @@
- -
+
-
Color of the datum portion of a driving constraint
@@ -466,7 +598,7 @@
- -
+
-
@@ -479,7 +611,7 @@
- -
+
-
The default line thickness for new shapes
@@ -501,7 +633,7 @@
- -
+
-
@@ -514,7 +646,7 @@
- -
+
-
The default line thickness for new shapes
@@ -536,7 +668,7 @@
- -
+
-
@@ -549,7 +681,7 @@
- -
+
-
The default line thickness for new shapes
@@ -571,7 +703,7 @@
- -
+
-
@@ -584,7 +716,7 @@
- -
+
-
Text color of the coordinates
@@ -604,7 +736,7 @@
- -
+
-
@@ -617,7 +749,7 @@
- -
+
-
Color of crosshair cursor.
diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
index 9f8b0ac95e..aac96821b8 100644
--- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
+++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
@@ -163,9 +163,9 @@ SbColor ViewProviderSketch::CreateCurveColor (0.8f,0.8f,0
SbColor ViewProviderSketch::DeactivatedConstrDimColor (0.8f,0.8f,0.8f); // #CCCCCC -> (204,204,204)
SbColor ViewProviderSketch::InternalAlignedGeoColor (0.7f,0.7f,0.5f); // #B2B27F -> (178,178,127)
SbColor ViewProviderSketch::FullyConstraintElementColor (0.50f,0.81f,0.62f); // #80D0A0 -> (128,208,160)
-SbColor ViewProviderSketch::FullyConstraintConstructionElementColor (0.56f,0.66f,0.99f); // #80D0A0 -> (128,208,160)
-SbColor ViewProviderSketch::FullyConstraintInternalAlignmentColor (0.87f,0.87f,0.78f); // #80D0A0 -> (128,208,160)
-SbColor ViewProviderSketch::FullyConstraintConstructionPointColor (1.0f,0.58f,0.50f); // #80D0A0 -> (128,208,160)
+SbColor ViewProviderSketch::FullyConstraintConstructionElementColor (0.56f,0.66f,0.99f); // #8FA9FD -> (143,169,253)
+SbColor ViewProviderSketch::FullyConstraintInternalAlignmentColor (0.87f,0.87f,0.78f); // #DEDEC8 -> (222,222,200)
+SbColor ViewProviderSketch::FullyConstraintConstructionPointColor (1.0f,0.58f,0.50f); // #FF9580 -> (255,149,128)
// Variables for holding previous click
SbTime ViewProviderSketch::prvClickTime;
SbVec2s ViewProviderSketch::prvClickPos;
@@ -6138,10 +6138,26 @@ bool ViewProviderSketch::setEdit(int ModNum)
color = (unsigned long)(CurveDraftColor.getPackedValue());
color = hGrp->GetUnsigned("ConstructionColor", color);
CurveDraftColor.setPackedValue((uint32_t)color, transparency);
- // set the construction curve color
+ // set the internal alignment geometry color
color = (unsigned long)(InternalAlignedGeoColor.getPackedValue());
color = hGrp->GetUnsigned("InternalAlignedGeoColor", color);
InternalAlignedGeoColor.setPackedValue((uint32_t)color, transparency);
+ // set the color for a fully constrained element
+ color = (unsigned long)(FullyConstraintElementColor.getPackedValue());
+ color = hGrp->GetUnsigned("FullyConstraintElementColor", color);
+ FullyConstraintElementColor.setPackedValue((uint32_t)color, transparency);
+ // set the color for fully constrained construction element
+ color = (unsigned long)(FullyConstraintConstructionElementColor.getPackedValue());
+ color = hGrp->GetUnsigned("FullyConstraintConstructionElementColor", color);
+ FullyConstraintConstructionElementColor.setPackedValue((uint32_t)color, transparency);
+ // set the color for fully constrained internal alignment element
+ color = (unsigned long)(FullyConstraintInternalAlignmentColor.getPackedValue());
+ color = hGrp->GetUnsigned("FullyConstraintInternalAlignmentColor", color);
+ FullyConstraintInternalAlignmentColor.setPackedValue((uint32_t)color, transparency);
+ // set the color for fully constrained construction points
+ color = (unsigned long)(FullyConstraintConstructionPointColor.getPackedValue());
+ color = hGrp->GetUnsigned("FullyConstraintConstructionPointColor", color);
+ FullyConstraintConstructionPointColor.setPackedValue((uint32_t)color, transparency);
// set fullyconstraint element color
color = (unsigned long)(FullyConstraintElementColor.getPackedValue());
color = hGrp->GetUnsigned("FullyConstraintElementColor", color);