mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 12:22:32 +00:00
FIX: Revert uniform scale modify
Revert "ENH: save uniform scale to an app_config item" Revert "ENH: do uniform scale if uniform_scale is true" Change-Id: I069baecec143e77d796247f29cd5478b877971fb (cherry picked from commit c7cf95cf5c365f314a53fead6612fac84a0a5f71)
This commit is contained in:
@@ -456,9 +456,6 @@ void GizmoObjectManipulation::set_uniform_scaling(const bool new_value)
|
||||
}
|
||||
}
|
||||
m_uniform_scale = new_value;
|
||||
AppConfig* config = wxGetApp().app_config;
|
||||
if (config)
|
||||
config->set("uniform_scale", new_value ? "1": "0");
|
||||
}
|
||||
|
||||
static const char* label_values[2][3] = {
|
||||
@@ -890,9 +887,6 @@ void GizmoObjectManipulation::do_render_scale_input_window(ImGuiWrapper* imgui_w
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
AppConfig* config = wxGetApp().app_config;
|
||||
if (config)
|
||||
this->m_uniform_scale = config->get("uniform_scale") == "1" ? true : false;
|
||||
bool uniform_scale = this->m_uniform_scale;
|
||||
|
||||
const Selection &selection = m_glcanvas.get_selection();
|
||||
|
||||
Reference in New Issue
Block a user