From fecc589b4c8fa1aeef0821c0da8fd2c94cce5459 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Mon, 11 Feb 2019 10:25:47 +0100 Subject: [PATCH] Move restoreoverridecursor() --- .../demo/Polyhedron/Plugins/PCA/Affine_transform_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/PCA/Affine_transform_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/PCA/Affine_transform_plugin.cpp index 2f7e9f7b8e1..33882b8d858 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/PCA/Affine_transform_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/PCA/Affine_transform_plugin.cpp @@ -541,7 +541,6 @@ void Polyhedron_demo_affine_transform_plugin::start(Scene_points_with_normal_ite void Polyhedron_demo_affine_transform_plugin::end(){ - QApplication::restoreOverrideCursor(); double matrix[16]; transformMatrix(&matrix[0]); const CGAL::qglviewer::Vec offset = static_cast(CGAL::QGLViewer::QGLViewerPool().first())->offset(); @@ -600,6 +599,7 @@ void Polyhedron_demo_affine_transform_plugin::end(){ transform_points_item = NULL; } dock_widget->hide(); + QApplication::restoreOverrideCursor(); } void Polyhedron_demo_affine_transform_plugin::updateUiMatrix()