mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 10:21:58 +02:00
Fixed selection after multiple selected Copy/Paste
This commit is contained in:
1 parent
b0d4cb6e06
commit
13ee32538a
1 file changed
+3
@@ -2849,6 +2849,9 @@ void ObjectList::update_selections_on_canvas()
|
||||
wxDataViewItemArray sels;
|
||||
GetSelections(sels);
|
||||
|
||||
// clear selection before adding new elements
|
||||
selection.clear(); //OR remove_all()?
|
||||
|
||||
for (auto item : sels)
|
||||
{
|
||||
add_to_selection(item, selection, instance_idx, mode);
|
||||
|
||||
Reference in new issue
Block a user