FIX: object configuration form cannot be used with multiple extruders
Change-Id: I0c78d0367a7e9f032b6c6efc63bfc6d54b28d091 Jira: STUDIO-7976
This commit is contained in:
parent
bd3690d85e
commit
f4ce4b3600
|
@ -15664,6 +15664,11 @@ void Plater::set_need_update(bool need_update)
|
||||||
//BBS: add popup logic for table object
|
//BBS: add popup logic for table object
|
||||||
bool Plater::PopupObjectTable(int object_id, int volume_id, const wxPoint& position)
|
bool Plater::PopupObjectTable(int object_id, int volume_id, const wxPoint& position)
|
||||||
{
|
{
|
||||||
|
if (dynamic_cast<TabPrinter *>(wxGetApp().get_tab(Preset::TYPE_PRINTER))->m_extruders_count > 1) {
|
||||||
|
MessageDialog dlg(this, _L("Currently, the object configuration form cannot be used with multiple extruders."), _L("Not available"), wxOK | wxICON_WARNING);
|
||||||
|
dlg.ShowModal();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return p->PopupObjectTable(object_id, volume_id, position);
|
return p->PopupObjectTable(object_id, volume_id, position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue