summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/filletchamferpointarray.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-21 10:49:53 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-21 10:49:53 +0000
commite47fb0e9289362d92a13454d9768dd747e2bb917 (patch)
tree2b9f31379549a739684ac2c8246e7fc6f999792a /src/live_effects/parameter/filletchamferpointarray.cpp
parentadded knot improvements pointed by su_v (diff)
parentWindows: add 64bit GTK3 buildtool build file. (diff)
downloadinkscape-e47fb0e9289362d92a13454d9768dd747e2bb917.tar.gz
inkscape-e47fb0e9289362d92a13454d9768dd747e2bb917.zip
update to trunk
(bzr r13682.1.20)
Diffstat (limited to 'src/live_effects/parameter/filletchamferpointarray.cpp')
-rw-r--r--src/live_effects/parameter/filletchamferpointarray.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/live_effects/parameter/filletchamferpointarray.cpp b/src/live_effects/parameter/filletchamferpointarray.cpp
index b23145db1..7d8c8e9b0 100644
--- a/src/live_effects/parameter/filletchamferpointarray.cpp
+++ b/src/live_effects/parameter/filletchamferpointarray.cpp
@@ -708,9 +708,7 @@ void FilletChamferPointArrayParamKnotHolderEntity::knot_set(Point const &p,
if (!valid_index(_index)) {
return;
}
- /// @todo how about item transforms???
Piecewise<D2<SBasis> > const &pwd2 = _pparam->get_pwd2();
- //todo: add snapping
double t = nearest_point(p, pwd2[_index]);
Geom::Point const s = snap_knot_position(pwd2[_index].valueAt(t), state);
t = nearest_point(s, pwd2[_index]);