src/ui/canvas.cpp

changeset 169
6da096930534
parent 168
24590af32ad6
child 170
9b655f6fe5a1
--- 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

mercurial