From 58c4b1fe8ac5b0be4e550b483402aa646b0d64be Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 17 Apr 2012 16:07:04 +0000 Subject: [PATCH] Regression on SMESH_TEST/Grids/smesh/bugs/E0 Fix Set(const SMDS_MeshElement* theVolume) --- src/SMDS/SMDS_VolumeTool.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.2