Fixed rescale for nodes with itInstanceRoot | itLayerRoot types

This commit is contained in:
YuSanka 2021-03-30 18:25:46 +02:00
parent a62a02aca1
commit c71fe03022

View File

@ -122,7 +122,7 @@ void ObjectDataViewModelNode::set_action_and_extruder_icons()
void ObjectDataViewModelNode::set_extruder_icon()
{
if (m_type & itInstance)
if (m_type & (itInstance | itInstanceRoot | itLayerRoot))
return; // don't set colored bitmap for Instance
int extruder_idx = atoi(m_extruder.c_str());