mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
Fix compilation problem when vtkIdType is 64bits integer
This commit is contained in:
parent
650885c135
commit
847109ca10
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user