summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 947fb2f)
raw | patch | inline | side by side (parent: 947fb2f)
author | cilix42 <cilix42@users.sourceforge.net> | |
Fri, 1 Aug 2008 17:40:33 +0000 (17:40 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Fri, 1 Aug 2008 17:40:33 +0000 (17:40 +0000) |
src/live_effects/parameter/point.cpp | patch | blob | history |
index 8b47b887f5f06c3bcef8717a0b4849dc4ded8eb5..0cb57993e6926358fc11cc3bb9bf00d16b89c36d 100644 (file)
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);
}