From 286b252f44fe1960160f4dd069eee77d31a65cfe Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Fri, 2 Mar 2018 12:51:37 +0800 Subject: [PATCH] ViewProviderPath: tweek StartIndex auto step size --- src/Mod/Path/Gui/ViewProviderPath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/Gui/ViewProviderPath.cpp b/src/Mod/Path/Gui/ViewProviderPath.cpp index 0993814bf5..55a2704da5 100644 --- a/src/Mod/Path/Gui/ViewProviderPath.cpp +++ b/src/Mod/Path/Gui/ViewProviderPath.cpp @@ -394,7 +394,7 @@ void ViewProviderPath::updateShowConstraints() { blockPropertyChange = false; StartIndex.purgeTouched(); } - StartIndexConstraints.StepSize = ShowCount.getValue()>0?ShowCount.getValue():1; + StartIndexConstraints.StepSize = ShowCount.getValue()>2?ShowCount.getValue()-2:1; } void ViewProviderPath::updateData(const App::Property* prop)