From: eap Date: Tue, 17 Apr 2012 16:07:04 +0000 (+0000) Subject: Regression on SMESH_TEST/Grids/smesh/bugs/E0 X-Git-Tag: TRIPOLI_323~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58c4b1fe8ac5b0be4e550b483402aa646b0d64be;p=modules%2Fsmesh.git Regression on SMESH_TEST/Grids/smesh/bugs/E0 Fix Set(const SMDS_MeshElement* theVolume) --- diff --git a/src/SMDS/SMDS_VolumeTool.cxx b/src/SMDS/SMDS_VolumeTool.cxx index aea71a17e..5346f49e7 100644 --- a/src/SMDS/SMDS_VolumeTool.cxx +++ b/src/SMDS/SMDS_VolumeTool.cxx @@ -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; }