From 28fd830c47f57c6c5f58585723d602ae2487d9d0 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Fri, 1 Aug 2008 17:40:33 +0000 Subject: [PATCH] Make PointParam handles snap, too --- src/live_effects/parameter/point.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp index 8b47b887f..0cb57993e 100644 --- a/src/live_effects/parameter/point.cpp +++ b/src/live_effects/parameter/point.cpp @@ -149,7 +149,8 @@ private: void PointParamKnotHolderEntity::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) { - pparam->param_setValue(p.to_2geom()); + NR::Point const s = snap_knot_position(p); + pparam->param_setValue(s.to_2geom()); sp_lpe_item_update_patheffect(SP_LPE_ITEM(item), false, false); } -- 2.30.2