mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-02 00:05:37 +05:00
Translate(022150: [CEA 789] Projection_1D2D not taken into account by BLSURF
Fix the previous integration
This commit is contained in:
parent
170c6d4f11
commit
f3304d692b
@ -1352,7 +1352,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
|
||||
{
|
||||
_computeState = READY_TO_COMPUTE;
|
||||
SMESHDS_SubMesh* smDS = GetSubMeshDS();
|
||||
if ( smDS && smDS->NbNodes() ) {
|
||||
if ( smDS && smDS->NbNodes() )
|
||||
{
|
||||
if ( event == CLEAN ) {
|
||||
cleanDependants();
|
||||
cleanSubMesh( this );
|
||||
@ -1360,7 +1361,9 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
|
||||
else
|
||||
_computeState = COMPUTE_OK;
|
||||
}
|
||||
else if ( event == COMPUTE && !_alwaysComputed ) {
|
||||
else if (( event == COMPUTE || event == COMPUTE_SUBMESH )
|
||||
&& !_alwaysComputed )
|
||||
{
|
||||
const TopoDS_Vertex & V = TopoDS::Vertex( _subShape );
|
||||
gp_Pnt P = BRep_Tool::Pnt(V);
|
||||
if ( SMDS_MeshNode * n = _father->GetMeshDS()->AddNode(P.X(), P.Y(), P.Z()) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user