From 8f7e12ebdca629ae59e1210fb3d8d40b8bdafd46 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 6 Apr 2021 13:17:37 +0200 Subject: [PATCH] Fix another similar warning --- Polyhedron/demo/Polyhedron/TextRenderer.cpp | 3 ++- STL_Extension/include/CGAL/Object.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/TextRenderer.cpp b/Polyhedron/demo/Polyhedron/TextRenderer.cpp index 9a18b8d19ab..95dc1846371 100644 --- a/Polyhedron/demo/Polyhedron/TextRenderer.cpp +++ b/Polyhedron/demo/Polyhedron/TextRenderer.cpp @@ -16,7 +16,7 @@ void TextRenderer::draw(CGAL::Three::Viewer_interface *viewer, const QVector3D& qobject_cast(scene->item(scene->mainSelectionIndex())); if( item && item->shouldDisplayIds(list->item()) - ) + ){ Q_FOREACH(TextItem* item, list->textList()) { CGAL::qglviewer::Vec src(item->position().x(), item->position().y(),item->position().z()); @@ -48,6 +48,7 @@ void TextRenderer::draw(CGAL::Three::Viewer_interface *viewer, const QVector3D& painter->drawText(rect, item->text()); } } + } } //Display the local TextItems diff --git a/STL_Extension/include/CGAL/Object.h b/STL_Extension/include/CGAL/Object.h index cef695c8a9e..59112fe2959 100644 --- a/STL_Extension/include/CGAL/Object.h +++ b/STL_Extension/include/CGAL/Object.h @@ -24,6 +24,7 @@ #include #include +#include #include #include