diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-04-30 09:17:07 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-04-30 09:17:07 +0000 |
| commit | 6a9762c7603a32c7ec5cc0aaed8048d84daee6e8 (patch) | |
| tree | 8cd98ce46dad85fc325bdd01ba60458de0801701 /src/live_effects/lpe-attach-path.cpp | |
| parent | Fix calls to Geom::cross() - sign change. (diff) | |
| download | inkscape-6a9762c7603a32c7ec5cc0aaed8048d84daee6e8.tar.gz inkscape-6a9762c7603a32c7ec5cc0aaed8048d84daee6e8.zip | |
Update 2Geom to r2347
(bzr r14059.2.3)
Diffstat (limited to 'src/live_effects/lpe-attach-path.cpp')
| -rw-r--r-- | src/live_effects/lpe-attach-path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-attach-path.cpp b/src/live_effects/lpe-attach-path.cpp index 0fcd725ce..21459f322 100644 --- a/src/live_effects/lpe-attach-path.cpp +++ b/src/live_effects/lpe-attach-path.cpp @@ -87,7 +87,7 @@ void LPEAttachPath::doEffect (SPCurve * curve) Geom::Coord length = derivs[deriv_n].length(); if ( ! Geom::are_near(length, 0) ) { if (set_start_end) { - start_path_position.param_set_value(transformedpath.nearestTime(start_path_curve_end.getOrigin())); + start_path_position.param_set_value(transformedpath.nearestTime(start_path_curve_end.getOrigin()).asFlatTime()); } if (start_path_position > transformedpath.size()) { @@ -142,7 +142,7 @@ void LPEAttachPath::doEffect (SPCurve * curve) Geom::Coord length = derivs[deriv_n].length(); if ( ! Geom::are_near(length, 0) ) { if (set_end_end) { - end_path_position.param_set_value(transformedpath.nearestTime(end_path_curve_end.getOrigin())); + end_path_position.param_set_value(transformedpath.nearestTime(end_path_curve_end.getOrigin()).asFlatTime()); } if (end_path_position > transformedpath.size()) { |
