void RouterPanel::goto_clicked()
{
goto_pick = true;
+ goto_target = 0;
signal_grab_pointer.emit();
}
map_coords_to_ancestor(rx, ry, *find_ancestor<GLtk::Root>());
Ray ray = engineer.get_main_view().create_ray(rx, ry);
Track *track = engineer.get_layout().pick<Track>(ray);
- if(track)
+ if(track && &track->get_block()!=goto_target)
{
goto_target = &track->get_block();
delete goto_highlight;