Skip to content

Commit

Permalink
simple fix to remove the segfault with Qt>=6.7 (CGAL#8453)
Browse files Browse the repository at this point in the history
## Summary of Changes

This should fix CGAL#8232. I have tested locally. I hope that does not 


## Release Management

* Affected package(s): GraphicsView, Qt6
* Issue(s) solved (if any): fix CGAL#8232
* License and copyright ownership: bug fix
  • Loading branch information
sloriot authored Sep 3, 2024
2 parents 761dab9 + 93dd87c commit c211a3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GraphicsView/include/CGAL/Qt/qglviewer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ camera is manipulated) : main drawing method. Should be overloaded. \arg
postDraw() : display of visual hints (world axis, FPS...) */
CGAL_INLINE_FUNCTION
void CGAL::QGLViewer::paintGL() {
makeCurrent();
// Clears screen, set model view matrix...
preDraw();
// Used defined method. Default calls draw()
Expand All @@ -364,7 +363,6 @@ void CGAL::QGLViewer::paintGL() {
draw();
// Add visual hints: axis, camera, grid...
postDraw();
doneCurrent();
Q_EMIT drawFinished(true);
}

Expand Down

0 comments on commit c211a3d

Please sign in to comment.