summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 344ccbd)
raw | patch | inline | side by side (parent: 344ccbd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 10 Mar 2007 02:48:31 +0000 (02:48 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 10 Mar 2007 02:48:31 +0000 (02:48 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 1d854418bcea51b39363d0a75457258a0ee65c21..0437414a8efec0c33e890297e458128d2b5de6a1 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -3445,11 +3445,9 @@ static void node_handle_moved(SPKnot *knot, NR::Point *p, guint state, gpointer
me->pos = NR::Point(rnew) + n->pos;
sp_ctrlline_set_coords(SP_CTRLLINE(me->line), n->pos, me->pos);
- // this is what sp_knot_set_position does, but without emitting the signal:
+ // move knot, but without emitting the signal:
// we cannot emit a "moved" signal because we're now processing it
- if (me->knot->item) SP_CTRL(me->knot->item)->moveto(me->pos);
-
- knot->desktop->set_coordinate_status(me->pos);
+ sp_knot_moveto(me->knot, &(me->pos));
update_object(n->subpath->nodepath);