ViewProviderPath: tweek StartIndex auto step size

This commit is contained in:
Zheng, Lei
2018-03-02 12:51:37 +08:00
committed by Yorik van Havre
parent 7f891ebeae
commit 286b252f44

View File

@@ -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)