Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
This commit is contained in:
commit
4493b512d5
2 changed files with 3 additions and 1 deletions
|
@ -2096,7 +2096,7 @@ ConfigWizard::ConfigWizard(wxWindow *parent)
|
||||||
p->add_page(p->page_filaments = new PageMaterials(this, &p->filaments,
|
p->add_page(p->page_filaments = new PageMaterials(this, &p->filaments,
|
||||||
_(L("Filament Profiles Selection")), _(L("Filaments")), _(L("Type:")) ));
|
_(L("Filament Profiles Selection")), _(L("Filaments")), _(L("Type:")) ));
|
||||||
p->add_page(p->page_sla_materials = new PageMaterials(this, &p->sla_materials,
|
p->add_page(p->page_sla_materials = new PageMaterials(this, &p->sla_materials,
|
||||||
_(L("SLA Material Profiles Selection")) + " ", _(L("SLA Materials")), _(L("Layer height:")) ));
|
_(L("SLA Material Profiles Selection")) + " ", _(L("SLA Materials")), _(L("Type:")) ));
|
||||||
|
|
||||||
|
|
||||||
p->add_page(p->page_update = new PageUpdate(this));
|
p->add_page(p->page_update = new PageUpdate(this));
|
||||||
|
|
|
@ -1763,6 +1763,8 @@ void GLCanvas3D::toggle_sla_auxiliaries_visibility(bool visible, const ModelObje
|
||||||
m_render_sla_auxiliaries = visible;
|
m_render_sla_auxiliaries = visible;
|
||||||
|
|
||||||
for (GLVolume* vol : m_volumes.volumes) {
|
for (GLVolume* vol : m_volumes.volumes) {
|
||||||
|
if (vol->composite_id.object_id == 1000)
|
||||||
|
continue; // the wipe tower
|
||||||
if ((mo == nullptr || m_model->objects[vol->composite_id.object_id] == mo)
|
if ((mo == nullptr || m_model->objects[vol->composite_id.object_id] == mo)
|
||||||
&& (instance_idx == -1 || vol->composite_id.instance_id == instance_idx)
|
&& (instance_idx == -1 || vol->composite_id.instance_id == instance_idx)
|
||||||
&& vol->composite_id.volume_id < 0)
|
&& vol->composite_id.volume_id < 0)
|
||||||
|
|
Loading…
Reference in a new issue