Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80db80
)
Regression on SMESH_TEST/Grids/smesh/bugs/E0
author
eap
<eap@opencascade.com>
Tue, 17 Apr 2012 16:07:04 +0000
(16:07 +0000)
committer
eap
<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
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_VolumeTool.cxx
b/src/SMDS/SMDS_VolumeTool.cxx
index aea71a17e6d0bf54236b3c06c0bb6786e3e1cd84..5346f49e790d1804268a6bd5244bf1b32329f51d 100644
(file)
--- 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;
}