mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed splitting of the objects with instances
This commit is contained in:
parent
2200e42174
commit
618d0e4910
3 changed files with 6 additions and 2 deletions
|
@ -528,7 +528,7 @@ wxDataViewItem PrusaObjectDataViewModel::AddInstanceChild(const wxDataViewItem &
|
|||
parent_node->Insert(inst_root_node, insert_pos);
|
||||
// notify control
|
||||
ItemAdded(parent_item, inst_root_item);
|
||||
num++;
|
||||
if (num == 1) num++;
|
||||
}
|
||||
|
||||
// Add instance nodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue