diff --git a/GraphicsView/include/CGAL/Qt/qglviewer_impl.h b/GraphicsView/include/CGAL/Qt/qglviewer_impl.h index ff35bb5de47..66a6ff1a601 100644 --- a/GraphicsView/include/CGAL/Qt/qglviewer_impl.h +++ b/GraphicsView/include/CGAL/Qt/qglviewer_impl.h @@ -2076,6 +2076,9 @@ void CGAL::QGLViewer::keyPressEvent(QKeyEvent *e) { static QElapsedTimer doublePress; if (modifiers == playPathKeyboardModifiers()) { + if(camera()->frame()->isSpinning()){ + camera()->frame()->stopSpinning(); + } qint64 elapsed = doublePress.restart(); if ((elapsed < 250) && (index == previousPathId_)) camera()->resetPath(index);