mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-23 21:17:56 +05:00
Make SMESH_creating_meshes_ex07 test OK
This commit is contained in:
parent
76e2778111
commit
0f33e74889
@ -490,10 +490,10 @@ void SMDS_MeshCell::init( SMDSAbs_EntityType theEntity,
|
||||
bool SMDS_MeshCell::ChangeNodes(const SMDS_MeshNode* nodes[], const int theNbNodes)
|
||||
{
|
||||
vtkIdType npts = 0;
|
||||
vtkIdType *pts;
|
||||
vtkIdType *pts(nullptr);
|
||||
vtkIdType const *tmp(nullptr);
|
||||
getGrid()->GetCellPoints( GetVtkID(), npts, tmp );
|
||||
std::copy(tmp,tmp+npts,pts);
|
||||
pts = const_cast<vtkIdType *>(tmp);
|
||||
if ( theNbNodes != npts )
|
||||
{
|
||||
MESSAGE("ChangeNodes problem: not the same number of nodes " << npts << " -> " << theNbNodes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user