}
for(int i=0;i<deletedFromOldCompounds.size();i++)
_oldCompounds.remove(deletedFromOldCompounds.get(i));
// Update undoable operations
fireUndoableEditUpdate(new UndoableEditEvent(this, new ReGroupEdit(this,shapesDeletedInCompoundShapes, deletedFromOldCompounds)));
repaint();
}