Fix compilation problem when vtkIdType is 64bits integer

This commit is contained in:
Anthony Geay 2020-02-17 13:02:16 +01:00
parent 650885c135
commit 847109ca10

View File

@ -29,7 +29,7 @@
void SMDS_BallElement::init(const SMDS_MeshNode * node, double diameter )
{
int nodeVtkID = node->GetVtkID();
vtkIdType nodeVtkID = node->GetVtkID();
int vtkID = getGrid()->InsertNextLinkedCell( toVtkType( SMDSEntity_Ball ), 1, &nodeVtkID );
setVtkID( vtkID );
getGrid()->SetBallDiameter( GetVtkID(), diameter );