make new Part.Line behaviour the default

This commit is contained in:
wmayer 2017-02-09 21:47:25 +01:00
parent 43a54839de
commit 81c3bc6ef5
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ PyMODINIT_FUNC initPart()
// General
Base::Reference<ParameterGrp> hGenPGrp = hPartGrp->GetGroup("General");
if (hGenPGrp->GetBool("LineOld", true)) {
if (hGenPGrp->GetBool("LineOld", false)) {
Base::Interpreter().addType(&Part::LinePy ::Type,partModule,"_Line");
Base::Interpreter().addType(&Part::LinePyOld ::Type,partModule,"Line");
}

View File

@ -701,7 +701,7 @@ Py::Object TopoShapeEdgePy::getCurve() const
Base::Reference<ParameterGrp> hPartGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/Part");
Base::Reference<ParameterGrp> hGenPGrp = hPartGrp->GetGroup("General");
LineOld = hGenPGrp->GetBool("LineOld", true);
LineOld = hGenPGrp->GetBool("LineOld", false);
}
if (LineOld) {