diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui
index 83ebc2ebce..14be54e806 100644
--- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui
+++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui
@@ -7,7 +7,7 @@
0
0
521
- 1055
+ 1110
@@ -671,7 +671,7 @@
-
-
+
0
diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp
index d701804386..4791755bb2 100644
--- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp
+++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp
@@ -45,52 +45,56 @@ DlgPrefsTechDraw3Imp::~DlgPrefsTechDraw3Imp()
void DlgPrefsTechDraw3Imp::saveSettings()
{
- pcbMatting->onSave();
- pcbBalloonShape->onSave();
- cbSectionLineStd->onSave();
- cbPyramidOrtho->onSave();
- pcbCenterStyle->onSave();
- pcbSectionStyle->onSave();
- leLineGroup->onSave();
- pcbBalloonArrow->onSave();
cbAutoHoriz->onSave();
- leDiameter->onSave();
- pcbArrow->onSave();
- sbAltDecimals->onSave();
- plsb_FontSize->onSave();
- plsb_ArrowSize->onSave();
- leformatSpec->onSave();
cbGlobalDecimals->onSave();
- cbShowUnits->onSave();
- pcbStandardAndStyle->onSave();
- cbProjAngle->onSave();
cbHiddenLineStyle->onSave();
+ cbPrintCenterMarks->onSave();
+ cbProjAngle->onSave();
+ cbPyramidOrtho->onSave();
+ cbSectionLineStd->onSave();
+ cbShowCenterMarks->onSave();
+ cbShowUnits->onSave();
+ leDiameter->onSave();
+ leformatSpec->onSave();
+ leLineGroup->onSave();
+ pcbArrow->onSave();
+ pcbBalloonArrow->onSave();
+ pcbBalloonShape->onSave();
+ pcbCenterStyle->onSave();
+ pcbMatting->onSave();
+ pcbSectionStyle->onSave();
+ pcbStandardAndStyle->onSave();
pdsbBalloonKink->onSave();
+ plsb_ArrowSize->onSave();
+ plsb_FontSize->onSave();
+ sbAltDecimals->onSave();
}
void DlgPrefsTechDraw3Imp::loadSettings()
{
- pcbMatting->onRestore();
- pcbBalloonShape->onRestore();
- cbSectionLineStd->onRestore();
- cbPyramidOrtho->onRestore();
- pcbCenterStyle->onRestore();
- pcbSectionStyle->onRestore();
- leLineGroup->onRestore();
- pcbBalloonArrow->onRestore();
cbAutoHoriz->onRestore();
- leDiameter->onRestore();
- pcbArrow->onRestore();
- sbAltDecimals->onRestore();
- plsb_FontSize->onRestore();
- plsb_ArrowSize->onRestore();
- leformatSpec->onRestore();
cbGlobalDecimals->onRestore();
- cbShowUnits->onRestore();
- pcbStandardAndStyle->onRestore();
- cbProjAngle->onRestore();
cbHiddenLineStyle->onRestore();
+ cbPrintCenterMarks->onRestore();
+ cbProjAngle->onRestore();
+ cbPyramidOrtho->onRestore();
+ cbSectionLineStd->onRestore();
+ cbShowCenterMarks->onRestore();
+ cbShowUnits->onRestore();
+ leDiameter->onRestore();
+ leformatSpec->onRestore();
+ leLineGroup->onRestore();
+ pcbArrow->onRestore();
+ pcbBalloonArrow->onRestore();
+ pcbBalloonShape->onRestore();
+ pcbCenterStyle->onRestore();
+ pcbMatting->onRestore();
+ pcbSectionStyle->onRestore();
+ pcbStandardAndStyle->onRestore();
pdsbBalloonKink->onRestore();
+ plsb_ArrowSize->onRestore();
+ plsb_FontSize->onRestore();
+ sbAltDecimals->onRestore();
}
/**
diff --git a/src/Mod/TechDraw/Gui/ViewProviderViewPart.cpp b/src/Mod/TechDraw/Gui/ViewProviderViewPart.cpp
index 9631bbf6f6..932e26d9ed 100644
--- a/src/Mod/TechDraw/Gui/ViewProviderViewPart.cpp
+++ b/src/Mod/TechDraw/Gui/ViewProviderViewPart.cpp
@@ -85,9 +85,10 @@ ViewProviderViewPart::ViewProviderViewPart()
hGrp = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->
GetGroup("Preferences")->GetGroup("Mod/TechDraw/Decorations");
- double defScale = hGrp->GetFloat("CenterMarkScale",2.0);
- bool defShowCenters = hGrp->GetBool("ShowCenterMarks", true);
+ double defScale = hGrp->GetFloat("CenterMarkScale",2.0);
+ bool defShowCenters = hGrp->GetBool("ShowCenterMarks", false);
+
//decorations
ADD_PROPERTY_TYPE(HorizCenterLine ,(false),dgroup,App::Prop_None,"Show a horizontal centerline through view");
ADD_PROPERTY_TYPE(VertCenterLine ,(false),dgroup,App::Prop_None,"Show a vertical centerline through view");