mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
54381: TC8.5.0: SMESH: Regression reading HDF files
This commit is contained in:
parent
eb177ba645
commit
bfd1d67c06
@ -958,7 +958,7 @@ void SMESH_PreMeshInfo::readSubMeshes(DriverMED_R_SMESHDS_Mesh* reader) const
|
||||
if ( isNode ) {
|
||||
SMDS_PositionPtr pos = aPositionCreator.MakePosition( smType[ smID ]);
|
||||
SMDS_MeshNode* node = const_cast<SMDS_MeshNode*>( static_cast<const SMDS_MeshNode*>( elem ));
|
||||
node->SetPosition( pos );
|
||||
node->SetPosition( pos, sm->GetID() );
|
||||
sm->AddNode( node );
|
||||
} else {
|
||||
sm->AddElement( elem );
|
||||
|
Loading…
Reference in New Issue
Block a user