mirror of https://github.com/CGAL/cgal
Merge pull request #3664 from maxGimeno/Demo-Fix_display_of_groups_in_groups-GF
Polyhedron Demo: Fix Rendering of Nested Groups
This commit is contained in:
commit
7f00deb05c
|
|
@ -214,6 +214,10 @@ void Scene_group_item::renderChildren(Viewer_interface *viewer,
|
|||
picked_item_IDs[depth] = id;
|
||||
}
|
||||
}
|
||||
CGAL::Three::Scene_group_item* group =
|
||||
qobject_cast<CGAL::Three::Scene_group_item*>(getChild(id));
|
||||
if(group)
|
||||
group->renderChildren(viewer, picked_item_IDs, picked_pixel, with_names);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue