mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 19:59:01 +08:00
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
@ -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…
x
Reference in New Issue
Block a user