freecad-vtk9.3.patch 631 B

123456789101112131415
  1. diff --git a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
  2. index 7e3de0070a..dc5249158d 100644
  3. --- a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
  4. +++ b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
  5. @@ -1026,7 +1026,8 @@ void SMDS_UnstructuredGrid::BuildLinks()
  6. GetLinks()->Allocate(this->GetNumberOfPoints());
  7. GetLinks()->Register(this);
  8. //FIXME: vtk9
  9. - GetLinks()->BuildLinks(this);
  10. + GetLinks()->SetDataSet(this);
  11. + GetLinks()->BuildLinks();
  12. GetLinks()->Delete();
  13. #else
  14. this->Links = SMDS_CellLinks::New();