Code

Add a centralized check (i.e. in the snapper mechanism) whether we've snapped or...
authordvlierop2 <dvlierop2@users.sourceforge.net>
Mon, 12 May 2008 18:58:04 +0000 (18:58 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Mon, 12 May 2008 18:58:04 +0000 (18:58 +0000)
commit3f906f24613d8a68c82b3b7b74f99900f7e5e7d5
treeefc8ed7eaba9a2b0ed87eaf14b797103bd8fa33a
parentef3d1bedb792a315f35d58f85770bfea33c7482a
Add a centralized check (i.e. in the snapper mechanism) whether we've snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured.
19 files changed:
src/arc-context.cpp
src/box3d-context.cpp
src/connector-context.cpp
src/context-fns.cpp
src/desktop-events.cpp
src/display/snap-indicator.cpp
src/draw-context.cpp
src/gradient-context.cpp
src/nodepath.cpp
src/object-edit.cpp
src/pencil-context.cpp
src/rect-context.cpp
src/seltrans.cpp
src/snap.cpp
src/snap.h
src/snapped-point.cpp
src/snapped-point.h
src/spiral-context.cpp
src/star-context.cpp