mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
In MergeNodes():
+ // set _alwaysComputed to a sub-mesh of VERTEX to enable mesh computing + // after MergeNodes() w/o creating node in place of merged ones. + ...
This commit is contained in:
parent
28489e5c19
commit
1303d07964
@ -7656,6 +7656,12 @@ void SMESH_MeshEditor::MergeNodes (TListOfListOfNodes & theGroupsOfNodes)
|
||||
//MESSAGE(" node to remove " << nToRemove->GetID());
|
||||
rmNodeIds.push_back( nToRemove->GetID() );
|
||||
AddToSameGroups( nToKeep, nToRemove, aMesh );
|
||||
// set _alwaysComputed to a sub-mesh of VERTEX to enable mesh computing
|
||||
// after MergeNodes() w/o creating node in place of merged ones.
|
||||
const SMDS_PositionPtr& pos = nToRemove->GetPosition();
|
||||
if ( pos && pos->GetTypeOfPosition() == SMDS_TOP_VERTEX )
|
||||
if ( SMESH_subMesh* sm = myMesh->GetSubMeshContaining( nToRemove->getshapeId() ))
|
||||
sm->SetIsAlwaysComputed( true );
|
||||
}
|
||||
|
||||
SMDS_ElemIteratorPtr invElemIt = nToRemove->GetInverseElementIterator();
|
||||
|
Loading…
Reference in New Issue
Block a user