--- a/src/ui/canvas.h Tue Jul 20 01:22:01 2021 +0300 +++ b/src/ui/canvas.h Sat Jul 24 01:50:38 2021 +0300 @@ -26,6 +26,8 @@ QWidget* parent = nullptr); const PreviewLayer& getPreviewLayer(PreviewLayerName name) const; PreviewLayer& modifyPreviewLayer(PreviewLayerName name); + void clearSelection(); + void addToSelection(ldraw::id_t id); public slots: void handleSelectionChange(const QSet<ldraw::id_t>& selectedIds, const QSet<ldraw::id_t>& deselectedIds); protected: