src/ui/canvas.cpp

changeset 198
eb9d900dc79a
parent 197
0e729e681a2c
child 200
ca23936b455b
--- a/src/ui/canvas.cpp	Wed May 25 18:29:49 2022 +0300
+++ b/src/ui/canvas.cpp	Wed May 25 18:33:38 2022 +0300
@@ -426,29 +426,6 @@
 	}
 }
 
-/**
- * @brief Clears the selection.
- */
-void Canvas::clearSelection()
-{
-	this->selection.clear();
-	gl::setModelShaderSelectedObjects(&this->shaders, this->selection);
-	Q_EMIT selectionChanged(this->selection);
-	this->update();
-}
-
-/**
- * @brief Adds an object to selection.
- * @param id ID of object to add
- */
-void Canvas::addToSelection(ldraw::id_t id)
-{
-	this->selection.insert(id);
-	gl::setModelShaderSelectedObjects(&this->shaders, this->selection);
-	Q_EMIT selectionChanged(this->selection);
-	this->update();
-}
-
 void Canvas::setOverpaintCallback(Canvas::OverpaintCallback fn)
 {
 	this->overpaintCallback = fn;

mercurial