Page MenuHome

Vertex snapping for curves

Authored by Henrik Aarnio (hjaarnio) on Nov 14 2013, 7:38 PM.



Add vertex snapping capabilities for curves. Snap to unhidden control points of other objects, and unhidden, unselected control points and handles in curve edit mode.
Note: unclear if it should snap to hidden control points on other curves or not. Just needs decision, having ability to hide stuff to not obscure snapping in object mode is good, but hidden/unhidden is not visible outside curve edit mode, so might be confusing.
Todo from

Also came over as from the old patch tracker.

Diff Detail

Event Timeline

Henrik Aarnio (hjaarnio) updated this revision to Unknown Object (????).Nov 16 2013, 1:16 AM

Minor syntax corrections regarding switch statement. Now it follows same pattern as snapEmpty and snapCamera

Oops, that wasn't intentional, trying to fix.

I think the visibility handling is exactly right, will apply the patch (+ fixing minor indentation issue for the function arguments).