3rdPart/salomesmesh - fix for vtk 9.3 compatibility
minimum required version is 7.1
This commit is contained in:
committed by
wwmayer
parent
c2694fd7d9
commit
d0fb2b8b29
4
src/3rdParty/salomesmesh/inc/SMESH_SMDS.hxx
vendored
4
src/3rdParty/salomesmesh/inc/SMESH_SMDS.hxx
vendored
@@ -39,10 +39,6 @@
|
||||
#define SMDS_EXPORT
|
||||
#endif
|
||||
|
||||
#ifdef VTK_HAS_MTIME_TYPE
|
||||
#define VTK_MTIME_TYPE vtkMTimeType
|
||||
#else
|
||||
#define VTK_MTIME_TYPE unsigned long
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1026,7 +1026,12 @@ void SMDS_UnstructuredGrid::BuildLinks()
|
||||
GetLinks()->Allocate(this->GetNumberOfPoints());
|
||||
GetLinks()->Register(this);
|
||||
//FIXME: vtk9
|
||||
#if VTK_VERSION_NUMBER < VTK_VERSION_CHECK(9,3,0)
|
||||
GetLinks()->BuildLinks(this);
|
||||
#else
|
||||
GetLinks()->SetDataSet(this);
|
||||
GetLinks()->BuildLinks();
|
||||
#endif
|
||||
GetLinks()->Delete();
|
||||
#else
|
||||
this->Links = SMDS_CellLinks::New();
|
||||
|
||||
Reference in New Issue
Block a user