void EditorUI::menuObjectMerge() { vector <MdlObject*> sel = model->GetSelectedObjects (); for (int a=0; a<sel.size(); a++) { MdlObject *parent = sel [a]->parent; if (parent) parent->MergeChild (sel[a]); } Update (); }
void EditorUI::menuObjectMerge() { vector <MdlObject*> sel = model->GetSelectedObjects (); for (unsigned int a=0;a<sel.size();a++) { MdlObject *parent = sel [a]->parent; if (parent) parent->MergeChild (sel[a]); } BACKUP_POINT("Selected objects merged"); Update (); }