From: mkr Date: Mon, 11 Jul 2005 12:56:53 +0000 (+0000) Subject: Modification for IPAL9448 : 3.0.0(current0807): Incorrect error appears after trying... X-Git-Tag: current25072005~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fac0c2a80ee8a27ecff4eba7f78507e0a0fd46b5;p=modules%2Fsuperv.git Modification for IPAL9448 : 3.0.0(current0807): Incorrect error appears after trying to execute a valid graph. --- diff --git a/src/GraphBase/DataFlowBase_Graph.cxx b/src/GraphBase/DataFlowBase_Graph.cxx index ede3e29..e2ef855 100644 --- a/src/GraphBase/DataFlowBase_Graph.cxx +++ b/src/GraphBase/DataFlowBase_Graph.cxx @@ -914,9 +914,9 @@ bool GraphBase::Graph::RemoveNode( const char* aNodeName ) { } } } - if ( aNode->LinkedNodesSize() || aNode->LinkedFromNodesSize() ) { - RetVal = 0 ; - } + //if ( aNode->LinkedNodesSize() || aNode->LinkedFromNodesSize() ) { + // RetVal = 0 ; + //} cdebug << "Graph::RemoveNode " << aNode->Name() << " : " << aNode->GetNodeInPortsSize() << " InPorts " << aNode->GetNodeOutPortsSize() << " OutPorts " << aNode->LinkedNodesSize() << " LinkedNodes " << aNode->LinkedFromNodesSize()