mirror of https://github.com/CGAL/cgal
Fix another similar warning
This commit is contained in:
parent
c349448ec5
commit
8f7e12ebdc
|
|
@ -16,7 +16,7 @@ void TextRenderer::draw(CGAL::Three::Viewer_interface *viewer, const QVector3D&
|
||||||
qobject_cast<CGAL::Three::Scene_print_item_interface*>(scene->item(scene->mainSelectionIndex()));
|
qobject_cast<CGAL::Three::Scene_print_item_interface*>(scene->item(scene->mainSelectionIndex()));
|
||||||
if( item &&
|
if( item &&
|
||||||
item->shouldDisplayIds(list->item())
|
item->shouldDisplayIds(list->item())
|
||||||
)
|
){
|
||||||
Q_FOREACH(TextItem* item, list->textList())
|
Q_FOREACH(TextItem* item, list->textList())
|
||||||
{
|
{
|
||||||
CGAL::qglviewer::Vec src(item->position().x(), item->position().y(),item->position().z());
|
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());
|
painter->drawText(rect, item->text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Display the local TextItems
|
//Display the local TextItems
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
#include <CGAL/config.h>
|
#include <CGAL/config.h>
|
||||||
#include <CGAL/assertions.h>
|
#include <CGAL/assertions.h>
|
||||||
|
|
||||||
|
#include <iterator>
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
|
|
||||||
#include <boost/variant.hpp>
|
#include <boost/variant.hpp>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue