diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-11-15 23:22:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 23:22:05 +0100 |
commit | 7c064bb64135bd94417ec7a52eeb2bee0a115075 (patch) | |
tree | 7b7d077b6a55a4f784163075abba85e99934bf03 /src | |
parent | 969f3daea0eed3deb26c47365b1a03a9629d48b5 (diff) | |
parent | 1e71120bdacb6f5ec4c90fb4c1365f76ecea7ff9 (diff) |
Merge pull request #729 from mglisse/qglviewer27
Handle QGLViewer >= 2.7.0
Diffstat (limited to 'src')
-rw-r--r-- | src/GudhUI/view/Viewer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GudhUI/view/Viewer.cpp b/src/GudhUI/view/Viewer.cpp index 6b17c833..2c00f86f 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() { |