Skip to content

Commit

Permalink
gui: fix display of generic modeling connections
Browse files Browse the repository at this point in the history
  • Loading branch information
quesnel committed Apr 29, 2024
1 parent 7559115 commit b81317a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/gui/generic/modeling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ static bool show_connection(
: pack_in(con.dst, con.port.compo);

ImNodes::Link(con_id, id_src, id_dst);
return true;
return false;
}
}

return false;
return true;
}

static bool show_connection(
Expand All @@ -268,11 +268,11 @@ static bool show_connection(
: pack_out(con.src, con.port.compo);

ImNodes::Link(con_id, id_src, id_dst);
return true;
return false;
}
}

return false;
return true;
}

static bool show_connection(const generic_component& compo,
Expand All @@ -293,11 +293,11 @@ static bool show_connection(const generic_component& compo,
: pack_in(con.dst, con.index_dst.compo);

ImNodes::Link(con_id, id_src, id_dst);
return true;
return false;
}
}

return false;
return true;
}

static void show(component_editor& ed,
Expand Down

0 comments on commit b81317a

Please sign in to comment.