make new Part.Line behaviour the default
This commit is contained in:
parent
43a54839de
commit
81c3bc6ef5
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user