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:
5403386
)
Fix bug with infinite loop during "Revolution" operation
author
abd
<abd@opencascade.com>
Wed, 22 Nov 2006 11:03:22 +0000
(11:03 +0000)
committer
abd
<abd@opencascade.com>
Wed, 22 Nov 2006 11:03:22 +0000
(11:03 +0000)
src/SMDS/SMDS_VolumeTool.cxx
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_VolumeTool.cxx
b/src/SMDS/SMDS_VolumeTool.cxx
index 204ebab1867e1f233b62f797dd293d4aea3393c5..66185f0bffe0e1cf44382193549c326cb248770b 100644
(file)
--- a/
src/SMDS/SMDS_VolumeTool.cxx
+++ b/
src/SMDS/SMDS_VolumeTool.cxx
@@
-1266,7
+1266,7
@@
bool SMDS_VolumeTool::IsFreeFace( int faceIndex )
if ( IsFaceExternal( faceIndex ))
intNormal = XYZ( -intNormal.x, -intNormal.y, -intNormal.z );
XYZ p0 ( nodes[0] ), baryCenter;
- for ( vNbIt = volNbShared.begin(); vNbIt != volNbShared.end();
vNbIt++
) {
+ for ( vNbIt = volNbShared.begin(); vNbIt != volNbShared.end(); ) {
int nbShared = (*vNbIt).second;
if ( nbShared >= 3 ) {
SMDS_VolumeTool volume( (*vNbIt).first );