diff options
author | Gard Spreemann <gspr@nonempty.org> | 2023-01-20 17:03:14 +0100 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2023-01-26 15:52:46 +0100 |
commit | 7be3bc8f1e1e0881d0a33931ff1123497b479739 (patch) | |
tree | a4b7497011bea39fbeadfb2674339ad26ad1583e /debian/patches/0005-Support-QGLViewer-2.7.patch | |
parent | 58db7d48d3315d5b4112e2ceaeee8f8c137f9de1 (diff) |
Refresh patches, and add patch for Hera 1.0 compatibility
Diffstat (limited to 'debian/patches/0005-Support-QGLViewer-2.7.patch')
-rw-r--r-- | debian/patches/0005-Support-QGLViewer-2.7.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/0005-Support-QGLViewer-2.7.patch b/debian/patches/0005-Support-QGLViewer-2.7.patch deleted file mode 100644 index 2f367d5f..00000000 --- a/debian/patches/0005-Support-QGLViewer-2.7.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Gard Spreemann <gspr@nonempty.org> -Date: Mon, 14 Nov 2022 17:28:23 +0100 -Subject: Support QGLViewer >=2.7 - -This is Marc Glisse's commit 1e71120bdacb6f5ec4c90fb4c1365f76ecea7ff9 -proposed upstream. ---- - src/GudhUI/view/Viewer.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/GudhUI/view/Viewer.cpp b/src/GudhUI/view/Viewer.cpp -index 6b17c83..2c00f86 100644 ---- a/src/GudhUI/view/Viewer.cpp -+++ b/src/GudhUI/view/Viewer.cpp -@@ -31,7 +31,11 @@ void Viewer::set_bounding_box(const Point_3 & lower_left, const Point_3 & upper_ - } - - void Viewer::update_GL() { -+#if QGLVIEWER_VERSION >= 0x020700 -+ this->update(); -+#else - this->updateGL(); -+#endif - } - - void Viewer::init_scene() { |