From: Mikko Rasa Date: Tue, 19 Nov 2013 13:56:04 +0000 (+0200) Subject: Use any snap nodes without links as boundaries X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=5aca52772d0fd5a2cf4d0d2dc99a2ddce9420b40;p=r2c2.git Use any snap nodes without links as boundaries This makes signals snap to tracks again. --- diff --git a/source/designer/movetool.cpp b/source/designer/movetool.cpp index fa78ba7..72bbc19 100644 --- a/source/designer/movetool.cpp +++ b/source/designer/movetool.cpp @@ -13,9 +13,13 @@ MoveTool::MoveTool(Designer &d, Input::Keyboard &k, Input::Mouse &m, const setobject->get_n_link_slots(); - for(unsigned j=0; jobject->get_n_snap_nodes(); + unsigned j; + for(j=0; jobject->get_link(j))) boundaries.push_back(Boundary(&*i, j)); + for(; j();