mirror of https://github.com/CGAL/cgal
Indentation fix and addition of a comment
This commit is contained in:
parent
ec4deace20
commit
5ee9fef038
|
|
@ -1166,6 +1166,8 @@ void Scene::updatePrimitiveIds(CGAL::Three::Viewer_interface* viewer, CGAL::Thre
|
||||||
Scene_print_interface_item* item= dynamic_cast<Scene_print_interface_item*>(it);
|
Scene_print_interface_item* item= dynamic_cast<Scene_print_interface_item*>(it);
|
||||||
if(item)
|
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);
|
item->printPrimitiveIds(viewer);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue