mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 01:12:59 -05:00
DoubleSlider with MM-printer preset: When Object has "Paint-on segmentation", DoubleSlider has same behavior as with modifiers
+ MSW specific: Use BitmapComboBox instead of wxBitmapComboBox to DarkMode for extruder selectors
This commit is contained in:
1 parent
ef30cc8690
commit
1f131d130f
6 files changed
+25
-2
No files matched your search
@@ -1494,7 +1494,17 @@ void ObjectDataViewModel::GetAllChildren(const wxDataViewItem &parent, wxDataVie
|
||||
}
|
||||
}
|
||||
|
||||
ItemType ObjectDataViewModel::GetItemType(const wxDataViewItem &item) const
|
||||
bool ObjectDataViewModel::HasInfoItem(InfoItemType type) const
|
||||
{
|
||||
for (ObjectDataViewModelNode* obj_node : m_objects)
|
||||
for (size_t j = 0; j < obj_node->GetChildCount(); j++)
|
||||
if (obj_node->GetNthChild(j)->GetInfoItemType() == type)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
ItemType ObjectDataViewModel::GetItemType(const wxDataViewItem &item) const
|
||||
{
|
||||
if (!item.IsOk())
|
||||
return itUndef;
|
||||
|
||||
Reference in new issue
Block a user