mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +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() );
|
topNode->Z() - botNode->Z() );
|
||||||
myVolForward = ( botNormal.Dot( upDir ) < 0 );
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user