mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 09:10:33 +05:00
Regression on SMESH_TEST/Grids/smesh/bugs/E0
Fix Set(const SMDS_MeshElement* theVolume)
This commit is contained in:
parent
f80db8004d
commit
58c4b1fe8a
@ -522,6 +522,8 @@ bool SMDS_VolumeTool::Set (const SMDS_MeshElement* theVolume,
|
|||||||
topNode->Y() - botNode->Y(),
|
topNode->Y() - botNode->Y(),
|
||||||
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
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user