Regression on SMESH_TEST/Grids/smesh/bugs/E0

Fix Set(const SMDS_MeshElement* theVolume)
This commit is contained in:
eap 2012-04-17 16:07:04 +00:00
parent f80db8004d
commit 58c4b1fe8a

View 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;
}