summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 1cc075603..f8cc58e3b 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1206,11 +1206,7 @@ bool PathManipulator::isBSpline(bool recalculate){
if(recalculate){
BSplineSteps = this->BSplineGetSteps();
}
- bool isBSpline = false;
- if(BSplineSteps>0){
- isBSpline = true;
- }
- return isBSpline;
+ return BSplineSteps > 0;
}
// returns the corresponding strength to the position of a handler