summaryrefslogtreecommitdiff
path: root/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch
blob: e26caecf497c5e8f8a1da84d3047da3b25a8ce22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: https://gitlab.archlinux.org/archlinux/packaging/packages/vtk/-/blob/main/vtk-occt.patch
From: Sven-Hendrik Haase <svenstaro@archlinux.org>
diff --git a/IO/OCCT/vtkOCCTReader.h b/IO/OCCT/vtkOCCTReader.h
index 36a02f5be3..33fa45fccc 100644
--- a/IO/OCCT/vtkOCCTReader.h
+++ b/IO/OCCT/vtkOCCTReader.h
@@ -48,8 +48,8 @@ public:
    * It can be either STEP or IGES.
    * Default is FILE_FORMAT::STEP
    */
-  VTK_DEPRECATED_IN_9_3_0("Use SetFormat with unsigned int instead.")
-  vtkSetEnumMacro(FileFormat, Format);
+  // VTK_DEPRECATED_IN_9_3_0("Use SetFormat with unsigned int instead.")
+  // vtkSetEnumMacro(FileFormat, Format);
   vtkSetClampMacro(FileFormat, unsigned int, Format::STEP, Format::IGES);
   ///@}