From b81317a3067e5d6f5109af9cb4b343e9459bf0c8 Mon Sep 17 00:00:00 2001 From: Gauthier Quesnel Date: Mon, 29 Apr 2024 16:46:17 +0200 Subject: [PATCH] gui: fix display of generic modeling connections --- app/gui/generic/modeling.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/gui/generic/modeling.cpp b/app/gui/generic/modeling.cpp index 05480a71..065b9824 100644 --- a/app/gui/generic/modeling.cpp +++ b/app/gui/generic/modeling.cpp @@ -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( @@ -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, @@ -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,