diff -r 0e729e681a2c -r eb9d900dc79a src/ui/canvas.cpp --- 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;