]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Modification for IPAL9448 : 3.0.0(current0807): Incorrect error appears after trying...
authormkr <mkr@opencascade.com>
Mon, 11 Jul 2005 12:56:53 +0000 (12:56 +0000)
committermkr <mkr@opencascade.com>
Mon, 11 Jul 2005 12:56:53 +0000 (12:56 +0000)
src/GraphBase/DataFlowBase_Graph.cxx

index ede3e29a5e901a71e62da9f91c407ed58dc86563..e2ef855883130501f9a5bb446eea48f61bc64853 100644 (file)
@@ -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()