mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Implemented update on canvas of a printable state for new volumes added from ObjectList
This commit is contained in:
parent
9b5a577c07
commit
4152a5df43
4 changed files with 38 additions and 5 deletions
|
@ -812,8 +812,9 @@ wxDataViewItem ObjectDataViewModel::AddInstanceChild(const wxDataViewItem& paren
|
|||
{
|
||||
ObjectDataViewModelNode* obj_node = (ObjectDataViewModelNode*)parent_item.GetID();
|
||||
|
||||
// use object's printable state to first instance
|
||||
instance_node->set_printable_icon(obj_node->IsPrintable());
|
||||
// use object's printable state to first instance, if it was defined
|
||||
instance_node->set_printable_icon(obj_node->IsPrintable() != piUndef ? obj_node->IsPrintable() :
|
||||
print_indicator[counter] ? piPrintable : piUnprintable );
|
||||
|
||||
// and set printable state for object_node to piUndef
|
||||
obj_node->set_printable_icon(piUndef);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue