Salome HOME
TShell cannot be disconnected; use TCompound of shells/faces instead
[modules/hydro.git] / src / HYDROData / HYDROData_TopoCurve.h
index 8d2bfddda8067dba771a44ba274524a0f1f8c3e6..484e20214521a92e4aff63a19dfc0f0467179ac0 100644 (file)
@@ -148,7 +148,7 @@ public:
     std::deque<HYDROData_TopoCurve>& theCurves)
   {
     HYDROData_TopoCurve aCurve;
-    if (!aCurve.Initialize(theWire))
+    if (aCurve.Initialize(theWire))
     {
       return aCurve.Connect(theTolerance, theCurves);
     }