--- a/src/ui/canvas.cpp Sat Mar 05 16:57:28 2022 +0200 +++ b/src/ui/canvas.cpp Sat Mar 05 17:18:44 2022 +0200 @@ -276,6 +276,14 @@ } /** + * @returns the ids of the currently selected objects + */ +const QSet<ldraw::id_t> Canvas::selectedObjects() const +{ + return this->selection; +} + +/** * @brief Paints a circle at where @c worldPoint is located on the screen. * @param painter Painter to use to render * @param worldPoint Point to render