From 788f8def91e00e0ec66feaf6d9e1b947d0672f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 17 Jul 2014 16:54:38 +0200 Subject: [PATCH] add warning message --- .../demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp index 60a312124bc..e86de67108a 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp @@ -113,6 +113,9 @@ void Polyhedron_demo_orient_soup_plugin::orient() } QApplication::restoreOverrideCursor(); } + else{ + messages->warning(tr("This function is only applicable on polygon soups.")); + } } }