add braces

This commit is contained in:
Maxime Gimeno 2021-04-01 10:13:19 +02:00
parent ef771049b1
commit c349448ec5
1 changed files with 2 additions and 0 deletions

View File

@ -1099,11 +1099,13 @@ bool Scene::dropMimeData(const QMimeData * /*data*/,
CGAL::Three::Scene_group_item* group =
qobject_cast<CGAL::Three::Scene_group_item*>(item(i));
if(group)
{
Q_FOREACH(Item_id id, group->getChildren())
{
CGAL::Three::Scene_item* child = item(id);
groups_children << item_id(child);
}
}
}
// Insure that children of selected groups will not be added twice
Q_FOREACH(int i, selected_items_list)