mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-08 15:27:26 +05:00
Fix bug with infinite loop during "Revolution" operation
This commit is contained in:
parent
5403386b98
commit
d9dcc476e0
@ -1266,7 +1266,7 @@ bool SMDS_VolumeTool::IsFreeFace( int faceIndex )
|
|||||||
if ( IsFaceExternal( faceIndex ))
|
if ( IsFaceExternal( faceIndex ))
|
||||||
intNormal = XYZ( -intNormal.x, -intNormal.y, -intNormal.z );
|
intNormal = XYZ( -intNormal.x, -intNormal.y, -intNormal.z );
|
||||||
XYZ p0 ( nodes[0] ), baryCenter;
|
XYZ p0 ( nodes[0] ), baryCenter;
|
||||||
for ( vNbIt = volNbShared.begin(); vNbIt != volNbShared.end(); vNbIt++ ) {
|
for ( vNbIt = volNbShared.begin(); vNbIt != volNbShared.end(); ) {
|
||||||
int nbShared = (*vNbIt).second;
|
int nbShared = (*vNbIt).second;
|
||||||
if ( nbShared >= 3 ) {
|
if ( nbShared >= 3 ) {
|
||||||
SMDS_VolumeTool volume( (*vNbIt).first );
|
SMDS_VolumeTool volume( (*vNbIt).first );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user