mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
FIX: encoding of mesh boolean text
Change-Id: I3d21f10d9f4e3022c702ff2b5493cf8bb94c881c
This commit is contained in:
parent
e2980e7755
commit
8ee1109746
1 changed files with 4 additions and 4 deletions
|
@ -217,7 +217,7 @@ void GLGizmoMeshBoolean::on_render_input_window(float x, float y, float bottom_l
|
|||
return res;
|
||||
};
|
||||
|
||||
auto operate_button = [this](const wxString& label, bool enable) {
|
||||
auto operate_button = [this](const wxString &label, bool enable) {
|
||||
if (!enable) {
|
||||
ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true);
|
||||
if (m_is_dark_mode) {
|
||||
|
@ -254,7 +254,7 @@ void GLGizmoMeshBoolean::on_render_input_window(float x, float y, float bottom_l
|
|||
ImGui::PopStyleVar();
|
||||
|
||||
ImGui::AlignTextToFramePadding();
|
||||
wxString cap_str1 = m_operation_mode != MeshBooleanOperation::Difference ? _L("Part 1") : _L("Subtract from");
|
||||
std::string cap_str1 = m_operation_mode != MeshBooleanOperation::Difference ? _u8L("Part 1") : _u8L("Subtract from");
|
||||
m_imgui->text(cap_str1);
|
||||
ImGui::SameLine(max_cap_length);
|
||||
wxString select_src_str = m_src.mv ? "1 " + _L("selected") : _L("Select");
|
||||
|
@ -282,7 +282,7 @@ void GLGizmoMeshBoolean::on_render_input_window(float x, float y, float bottom_l
|
|||
}
|
||||
|
||||
ImGui::AlignTextToFramePadding();
|
||||
wxString cap_str2 = m_operation_mode != MeshBooleanOperation::Difference ? _L("Part 2") : _L("Subtract with");
|
||||
std::string cap_str2 = m_operation_mode != MeshBooleanOperation::Difference ? _u8L("Part 2") : _u8L("Subtract with");
|
||||
m_imgui->text(cap_str2);
|
||||
ImGui::SameLine(max_cap_length);
|
||||
wxString select_tool_str = m_tool.mv ? "1 " + _L("selected") : _L("Select");
|
||||
|
@ -463,4 +463,4 @@ void GLGizmoMeshBoolean::generate_new_volume(bool delete_input, const TriangleMe
|
|||
}
|
||||
|
||||
|
||||
}}
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue