diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-10-31 00:22:23 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-10-31 00:22:23 +0000 |
| commit | a95976663a5d9ffe10fb39aa03f6ad42b067ae95 (patch) | |
| tree | 73aa5717905b22abcb80d7134dc6fca4eb95c573 /src/live_effects/parameter/filletchamferpointarray.cpp | |
| parent | Update to experimental r13619 (diff) | |
| parent | Fix units.xml (diff) | |
| download | inkscape-a95976663a5d9ffe10fb39aa03f6ad42b067ae95.tar.gz inkscape-a95976663a5d9ffe10fb39aa03f6ad42b067ae95.zip | |
Update to trunk r13648
(bzr r13341.5.19)
Diffstat (limited to 'src/live_effects/parameter/filletchamferpointarray.cpp')
| -rw-r--r-- | src/live_effects/parameter/filletchamferpointarray.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/live_effects/parameter/filletchamferpointarray.cpp b/src/live_effects/parameter/filletchamferpointarray.cpp index e2b1aba61..db24a9735 100644 --- a/src/live_effects/parameter/filletchamferpointarray.cpp +++ b/src/live_effects/parameter/filletchamferpointarray.cpp @@ -175,13 +175,8 @@ void FilletChamferPointArrayParam::recalculate_controlpoints_for_new_pwd2( last_pathv[counterPaths][counter - offset].initialPoint(), 0.1))) { if ( curve_it2 == curve_endit) { - if (last_pathv[counterPaths].size() < pathv[counterPaths].size()) { - offset = abs(last_pathv[counterPaths].size() - - pathv[counterPaths].size()); - } else if (last_pathv[counterPaths].size() > - pathv[counterPaths].size()) { - offset = (abs(last_pathv[counterPaths].size() - - pathv[counterPaths].size())) * -1; + if (last_pathv[counterPaths].size() != pathv[counterPaths].size()) { + offset = (last_pathv[counterPaths].size() - pathv[counterPaths].size()) * -1; } else { offset = 0; } |
