Salome HOME
0022221: [CEA 819] Error "'NoneType' object is not callable" at Salome closure
[modules/smesh.git] / src / StdMeshers / StdMeshers_ViscousLayers.cxx
index 7c9588671f657f7ccd4e9a03b2d3e25387e720eb..67c79fef737d2928a6b25a49458d7c07dbdbf77e 100644 (file)
@@ -2533,6 +2533,10 @@ bool _ViscousBuilder::smoothAnalyticEdge( _SolidData&           data,
 
     if ( F.IsNull() ) // 3D
     {
+      if ( data._edges[iFrom]->_2neibors->_nodes[0] ==
+           data._edges[iTo-1]->_2neibors->_nodes[1] )
+        return true; // closed EDGE - nothing to do
+
       return false; // TODO ???
     }
     else // 2D