mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
tiny optimization
This commit is contained in:
parent
3c33958e2e
commit
a53a044a3f
@ -523,7 +523,8 @@ bool SMDS_VolumeTool::Set (const SMDS_MeshElement* theVolume,
|
||||
topNode->Z() - botNode->Z() );
|
||||
myVolForward = ( botNormal.Dot( upDir ) < 0 );
|
||||
|
||||
myCurFace = -1; // previous setFace(0) didn't take myVolForward into account
|
||||
if ( !myVolForward )
|
||||
myCurFace = -1; // previous setFace(0) didn't take myVolForward into account
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user