]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Regression on SMESH_TEST/Grids/smesh/bugs/E0
authoreap <eap@opencascade.com>
Tue, 17 Apr 2012 16:07:04 +0000 (16:07 +0000)
committereap <eap@opencascade.com>
Tue, 17 Apr 2012 16:07:04 +0000 (16:07 +0000)
Fix Set(const SMDS_MeshElement* theVolume)

src/SMDS/SMDS_VolumeTool.cxx

index aea71a17e6d0bf54236b3c06c0bb6786e3e1cd84..5346f49e790d1804268a6bd5244bf1b32329f51d 100644 (file)
@@ -522,6 +522,8 @@ bool SMDS_VolumeTool::Set (const SMDS_MeshElement* theVolume,
                topNode->Y() - botNode->Y(),
                topNode->Z() - botNode->Z() );
     myVolForward = ( botNormal.Dot( upDir ) < 0 );
+
+    myCurFace = -1; // previous setFace(0) didn't take myVolForward into account
   }
   return true;
 }