1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00
when state of "inches" checkbox is changed.
+ Fixed update of Z value, when Cut gizmo is in mm
This commit is contained in:
YuSanka
2020-12-14 09:06:19 +01:00
parent 2b3d9359d4
commit 0f11ff8525
2 changed files with 4 additions and 2 deletions
+1 -2
View File
@@ -180,8 +180,7 @@ void GLGizmoCut::on_render_input_window(float x, float y, float bottom_limit)
ImGui::SameLine();
m_imgui->text(imperial_units ? _L("in") : _L("mm"));
if (imperial_units)
m_cut_z = cut_z * ObjectManipulation::in_to_mm;
m_cut_z = cut_z * (imperial_units ? ObjectManipulation::in_to_mm : 1.0);
ImGui::Separator();