Comment 21 for bug 607107

Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote : Re: [Bug 607107] Re: Snapping of rotation center

On 07/24/2010 05:07 PM, ~suv wrote:
> > The self-snapping has been fixed
>
> Looks fine. What I failed to snap to when dragging the rotation center was the rotation center of another object which had been moved outside the object's bbox (?). OTOH dragging one of the objects allows to snap the two rotation centers, which are both outside the bbox of its object.
> Snap settings: snap nodes and handles to rotation center, grid and guides; grid turned off.
>

Yes, that's a good point and an even better observation! When Inkscape
looks for snap targets, it uses the bounding box of each of the items in
a document, plus some margin (equal to the snap distance). If the snap
source is not within range of the bbox+margin, then that item will be
ignored. The bounding box does not include the rotation center however.
I could fix that quite easily for the snapper, but am not sure about
possible side effects yet.

It's strange though that snapping worked correctly when dragging the
objects instead of the center.