return (is_connected = true);
}
} else {
- if ( temp0 == IN && temp1 == IN && temp2 == OUT )
+ if ( temp0 == IN && temp1 == IN && temp2 == OUT ) {
+ connect_vec[0].id_dest = _item0->get_id();
+ connect_vec[1].id_dest = _item1->get_id();
+ connect_vec[2].id_dest = _item2->get_id();
return (is_connected = true);
+ }
}
return is_connected;
}