diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-14 13:31:37 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-14 13:31:37 +0000 |
| commit | cf0c5225ad7d55c82a850970f9eea4e001f5928d (patch) | |
| tree | 2ea82b23e6ea0809f93de68611e60f97d80d1b6d /src/ui/tool/path-manipulator.cpp | |
| parent | update to trunk (diff) | |
| parent | Adding default argument to PathManipulator::isBSpline. (diff) | |
| download | inkscape-cf0c5225ad7d55c82a850970f9eea4e001f5928d.tar.gz inkscape-cf0c5225ad7d55c82a850970f9eea4e001f5928d.zip | |
commit VinÃcius code
(bzr r11950.1.294)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/path-manipulator.cpp | 6 |
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 |
