Thanks Diederik,
On first try it seems to work great. It is nice to see you put some thought into it (with the not-snapping to selected nodes, etc).
I am using Inkscape at work and this snapping is reallly appreciated.
Do you think you have time to work on snappingindicator soon? (basically to hook it in everywhere) Then work can be done on implementing different kinds, but if all calls are there that is much easier (then we have some overview of the kinds of snapindicators we need?)
Cheers, Johan
________________________________
From: Diederik van Lierop [mailto:mail@...1689...] Sent: zondag 9 maart 2008 14:37 To: bulia byak Cc: inkscape-devel; Engelen, J.B.C. (Johan) Subject: Re: [Inkscape-devel] Snapping to nodes (within same path) bulia byak wrote:
On Tue, Feb 26, 2008 at 4:07 PM, Diederik van Lierop <mail@...1689...> mailto:mail@...1689... wrote:
that is being dragged and should not be snapped to. I've just tried to make the node tool snap to it's own nodes, but it's now also "self-snapping" to the node being dragged...
Ah, yes, now I remember it was indeed a problem. So basically we need to tell it the node to which not to snap, not object.
Just did that. As of rev. 17715, the object snapper receives a list of unselected (i.e. stationary) nodes. The node tool now snaps to any unselected node (cusp or smooth) within the path that's being edited, and to cusp nodes of other paths. It also snaps to the path itself, but only to the stationary segments in between two unselected nodes. Please have a try and see if this fits our needs... Diederik