mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Fixed loading of hole_height when a hole is selected (hollowing gizmo)
This commit is contained in:
parent
6e8bdb2c86
commit
902d3bb904
1 changed files with 2 additions and 2 deletions
|
@ -1079,7 +1079,7 @@ void GLGizmoHollow::select_point(int i)
|
||||||
|
|
||||||
if (i == AllPoints) {
|
if (i == AllPoints) {
|
||||||
m_new_hole_radius = m_c->m_model_object->sla_drain_holes[0].radius;
|
m_new_hole_radius = m_c->m_model_object->sla_drain_holes[0].radius;
|
||||||
m_new_hole_height = m_c->m_model_object->sla_drain_holes[0].height;
|
m_new_hole_height = m_c->m_model_object->sla_drain_holes[0].height - HoleStickOutLength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -1088,7 +1088,7 @@ void GLGizmoHollow::select_point(int i)
|
||||||
m_selected[i] = true;
|
m_selected[i] = true;
|
||||||
m_selection_empty = false;
|
m_selection_empty = false;
|
||||||
m_new_hole_radius = m_c->m_model_object->sla_drain_holes[i].radius;
|
m_new_hole_radius = m_c->m_model_object->sla_drain_holes[i].radius;
|
||||||
m_new_hole_height = m_c->m_model_object->sla_drain_holes[i].height;
|
m_new_hole_height = m_c->m_model_object->sla_drain_holes[i].height - HoleStickOutLength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue