SLA supports gizmo bugfix: show supports when not in editing mode
The bug was introduced after 2.2.0 release
This commit is contained in:
parent
581892cb0d
commit
ac8491b599
1 changed files with 1 additions and 0 deletions
|
@ -898,6 +898,7 @@ void GLGizmoSlaSupports::on_set_state()
|
||||||
// Set default head diameter from config.
|
// Set default head diameter from config.
|
||||||
const DynamicPrintConfig& cfg = wxGetApp().preset_bundle->sla_prints.get_edited_preset().config;
|
const DynamicPrintConfig& cfg = wxGetApp().preset_bundle->sla_prints.get_edited_preset().config;
|
||||||
m_new_point_head_diameter = static_cast<const ConfigOptionFloat*>(cfg.option("support_head_front_diameter"))->value;
|
m_new_point_head_diameter = static_cast<const ConfigOptionFloat*>(cfg.option("support_head_front_diameter"))->value;
|
||||||
|
m_c->instances_hider()->show_supports(true);
|
||||||
}
|
}
|
||||||
if (m_state == Off && m_old_state != Off) { // the gizmo was just turned Off
|
if (m_state == Off && m_old_state != Off) { // the gizmo was just turned Off
|
||||||
bool will_ask = mo && m_editing_mode && unsaved_changes();
|
bool will_ask = mo && m_editing_mode && unsaved_changes();
|
||||||
|
|
Loading…
Reference in a new issue