From a4db18af5624f801662e1a6ee19da861c77b8ff6 Mon Sep 17 00:00:00 2001 From: bgbsww Date: Thu, 30 Nov 2023 07:39:05 -0500 Subject: [PATCH] Default freenet to true for sweep to fix rendering bug --- src/Mod/Part/App/PartFeatures.cpp | 2 +- src/Mod/Part/Gui/TaskSweep.ui | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Part/App/PartFeatures.cpp b/src/Mod/Part/App/PartFeatures.cpp index 35b34e61cac8..facce022f3d3 100644 --- a/src/Mod/Part/App/PartFeatures.cpp +++ b/src/Mod/Part/App/PartFeatures.cpp @@ -369,7 +369,7 @@ Sweep::Sweep() Sections.setSize(0); ADD_PROPERTY_TYPE(Spine,(nullptr),"Sweep",App::Prop_None,"Path to sweep along"); ADD_PROPERTY_TYPE(Solid,(false),"Sweep",App::Prop_None,"Create solid"); - ADD_PROPERTY_TYPE(Frenet,(false),"Sweep",App::Prop_None,"Frenet"); + ADD_PROPERTY_TYPE(Frenet,(true),"Sweep",App::Prop_None,"Frenet"); ADD_PROPERTY_TYPE(Transition,(long(1)),"Sweep",App::Prop_None,"Transition mode"); Transition.setEnums(TransitionEnums); } diff --git a/src/Mod/Part/Gui/TaskSweep.ui b/src/Mod/Part/Gui/TaskSweep.ui index dc19fdb46051..3b2ee55c376b 100644 --- a/src/Mod/Part/Gui/TaskSweep.ui +++ b/src/Mod/Part/Gui/TaskSweep.ui @@ -59,6 +59,9 @@ Frenet + + true +