From f45408053c299d07b8ca26ad3d1bb79ceb5958e4 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Tue, 23 Sep 2025 10:21:52 -0500 Subject: [PATCH] CAM: Fixes #11163 Changes default scale from 2.0 to 3.0 Adds a parameter. DefaultArrowScale to control. --- src/Mod/CAM/Gui/ViewProviderPath.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/CAM/Gui/ViewProviderPath.cpp b/src/Mod/CAM/Gui/ViewProviderPath.cpp index aec61ccdbe..eb81d31bb7 100644 --- a/src/Mod/CAM/Gui/ViewProviderPath.cpp +++ b/src/Mod/CAM/Gui/ViewProviderPath.cpp @@ -160,6 +160,7 @@ ViewProviderPath::ViewProviderPath() mg = ((mcol >> 16) & 0xff) / 255.0; mb = ((mcol >> 8) & 0xff) / 255.0; int lwidth = hGrp->GetInt("DefaultPathLineWidth", 1); + float arrowScale = hGrp->GetFloat("DefaultArrowScale", 3.0f); ADD_PROPERTY_TYPE(NormalColor, (lr, lg, lb), "Path", @@ -251,7 +252,7 @@ ViewProviderPath::ViewProviderPath() pArrow->set("zAxis.appearance.drawStyle", "style INVISIBLE"); pArrow->set("zHead.transform", "translation 0 0 0"); pArrowScale->setPart("shape", pArrow); - pArrowScale->scaleFactor = 2.0f; + pArrowScale->scaleFactor = arrowScale; pArrowGroup->addChild(pArrowScale); pcArrowSwitch->addChild(pArrowGroup);