summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e12f53)
raw | patch | inline | side by side (parent: 3e12f53)
author | johncoswell <johncoswell@users.sourceforge.net> | |
Wed, 4 Oct 2006 01:32:03 +0000 (01:32 +0000) | ||
committer | johncoswell <johncoswell@users.sourceforge.net> | |
Wed, 4 Oct 2006 01:32:03 +0000 (01:32 +0000) |
src/node-context.cpp | patch | blob | history |
diff --git a/src/node-context.cpp b/src/node-context.cpp
index 6ad2254ce4e5f3a950d6b2452a9ed448186fca74..aae6ce29eda674bc253478f9062cf7b6eb006ff6 100644 (file)
--- a/src/node-context.cpp
+++ b/src/node-context.cpp
nc->curvepoint_event[NR::Y] = (gint) event->motion.y;
gobble_motion_events(GDK_BUTTON1_MASK);
} else {
- NR::Point const motion_w(event->motion.x,
- event->motion.y);
- NR::Point const motion_dt(desktop->w2d(motion_w));
- Inkscape::Rubberband::get()->move(motion_dt);
+ if (Inkscape::Rubberband::get()->is_started()) {
+ NR::Point const motion_w(event->motion.x,
+ event->motion.y);
+ NR::Point const motion_dt(desktop->w2d(motion_w));
+ Inkscape::Rubberband::get()->move(motion_dt);
+ }
}
nc->drag = TRUE;
ret = TRUE;