Code

A pasted selection is supposed to snap to the grid, but this cannot work the way...
authordvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 14 Nov 2007 21:07:46 +0000 (21:07 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 14 Nov 2007 21:07:46 +0000 (21:07 +0000)
commit542acb67493132a953fa9bb79b5b462b343fc3f5
tree98340affad496187bfd9f271222dff0bb9a461da
parent4e33f020dd832c0fa662afd97a40d6eba7f1fade
A pasted selection is supposed to snap to the grid, but this cannot work the way its implemented currently. If one of the points is currently snapped, then how can we make sure that that SAME point is snapped again after pasting? If it's another point that snaps, then this is useless...

Furthermore it's also buggy currently (it messes up the grid snapping sensitivity), so I'm removing this functionality. If someone wants it back, we should rather round the paste offset to a multiple of the grid pitch. This way, something that was snapped to the grid before will stay snapped after pasting.
src/selection-chemistry.cpp
src/snap.cpp
src/snap.h