This makes signals snap to tracks again.
for(ObjectArray::iterator i=objects.begin(); i!=objects.end(); ++i)
{
unsigned nls = i->object->get_n_link_slots();
- for(unsigned j=0; j<nls; ++j)
+ unsigned nsn = i->object->get_n_snap_nodes();
+ unsigned j;
+ for(j=0; j<nls; ++j)
if(!o.count(i->object->get_link(j)))
boundaries.push_back(Boundary(&*i, j));
+ for(; j<nsn; ++j)
+ boundaries.push_back(Boundary(&*i, j));
}
snap_targets = designer.get_layout().get_all<Object>();