mirror of https://github.com/CGAL/cgal
Use c++11 init method for cursor to avoid msvc bug due to "most vexing parse"
This commit is contained in:
parent
8886bc5e6a
commit
ec656e280e
|
|
@ -377,7 +377,7 @@ void Scene_lcc_item::drawPoints(CGAL::Three::Viewer_interface* viewer) const
|
||||||
|
|
||||||
void Scene_lcc_item::computeElements() const
|
void Scene_lcc_item::computeElements() const
|
||||||
{
|
{
|
||||||
CGAL::Three::Three::CursorScopeGuard guard(QCursor(Qt::WaitCursor));
|
CGAL::Three::Three::CursorScopeGuard guard{QCursor(Qt::WaitCursor)};
|
||||||
const CGAL::qglviewer::Vec offset = CGAL::Three::Three::mainViewer()->offset();
|
const CGAL::qglviewer::Vec offset = CGAL::Three::Three::mainViewer()->offset();
|
||||||
qDebug()<<offset.x<<", "<<offset.y<<", "<<offset.z;
|
qDebug()<<offset.x<<", "<<offset.y<<", "<<offset.z;
|
||||||
typename LCC::size_type markvolumes = d->lcc.get_new_mark();
|
typename LCC::size_type markvolumes = d->lcc.get_new_mark();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue