From: mkr Date: Wed, 14 Feb 2007 06:47:59 +0000 (+0000) Subject: Fix for bug NPAL14823 : Inconsistency betweek SuperVGUI and SuperVEngine X-Git-Tag: V3_2_6a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=987305c017adfc0c0e78f568a64304f175d9ac2e;p=modules%2Fsuperv.git Fix for bug NPAL14823 : Inconsistency betweek SuperVGUI and SuperVEngine (allow to sketch link between OutGate and InLine parameter). --- diff --git a/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx b/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx index 70a1e38..3c957e6 100644 --- a/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx +++ b/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx @@ -401,7 +401,8 @@ bool SUPERVGUI_CanvasLinkBuilder::canCreateEngine(SUPERVGUI_CanvasPort* thePort) // asv : 15.12.04 : NOT allow to connect Gate-to-InLine --> it does not make sence! // Out Gate port can be connected only to In Gate port - if ( aOutKind == SUPERV::GateParameter && aInKind != SUPERV::GateParameter ) + // mkr : NPAL14823 : Out Gate port can be connected to Inline port too + if ( aOutKind == SUPERV::GateParameter && aInKind != SUPERV::GateParameter && aInKind != SUPERV::InLineParameter ) return false; // In Gate can be connected to (receive links from) Gate port and InLine ports (important for Switch nodes)