mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 12:17:54 -06:00
Added printfs for code debugging on OSX
This commit is contained in:
parent
a59a84f237
commit
e914a719f8
3 changed files with 8 additions and 6 deletions
|
@ -386,10 +386,6 @@ bool PrusaObjectDataViewModelNode::update_settings_digest(const std::vector<std:
|
|||
bmp = m_bitmap_cache->insert(m_name.ToStdString(), bmps);
|
||||
}
|
||||
m_icon.CopyFromBitmap(*bmp);
|
||||
#ifdef __WXOSX__
|
||||
m_icon.SetHeight(bmp->GetHeight());
|
||||
m_icon.SetWidth(bmp->GetWidth());
|
||||
#endif // __WXOSX__
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -477,6 +473,9 @@ wxDataViewItem PrusaObjectDataViewModel::AddSettingsChild(const wxDataViewItem &
|
|||
// notify control
|
||||
const wxDataViewItem child((void*)node);
|
||||
ItemAdded(parent_item, child);
|
||||
|
||||
if (child)
|
||||
printf("SettingsChild is created\n");
|
||||
return child;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue