mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Added new selection states - Select parts/modifiers from first instance only from right panel
This commit is contained in:
parent
e385b43106
commit
f4b16bb242
3 changed files with 50 additions and 8 deletions
|
@ -1243,7 +1243,7 @@ void ObjectList::update_selections_on_canvas()
|
|||
if (m_objects_model->GetItemType(item) == itVolume) {
|
||||
const int obj_idx = m_objects_model->GetIdByItem(m_objects_model->GetParent(item));
|
||||
const int vol_idx = m_objects_model->GetVolumeIdByItem(item);
|
||||
selection.add_volume(obj_idx, vol_idx, as_single_selection);
|
||||
selection.add_volume(obj_idx, vol_idx, 0, as_single_selection);
|
||||
}
|
||||
else if (m_objects_model->GetItemType(item) == itInstance) {
|
||||
const int obj_idx = m_objects_model->GetIdByItem(m_objects_model->GetTopParent(item));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue