Indentation fix and addition of a comment

This commit is contained in:
Maxime Gimeno 2017-01-10 16:57:08 +01:00
parent ec4deace20
commit 5ee9fef038
1 changed files with 3 additions and 1 deletions

View File

@ -1166,8 +1166,10 @@ void Scene::updatePrimitiveIds(CGAL::Three::Viewer_interface* viewer, CGAL::Thre
Scene_print_interface_item* item= dynamic_cast<Scene_print_interface_item*>(it);
if(item)
{
//As this function works as a toggle, the first call hides the ids and the second one shows them again,
//thereby triggering their re-computation.
item->printPrimitiveIds(viewer);
item->printPrimitiveIds(viewer);
item->printPrimitiveIds(viewer);
}
}
}