Use plain ASCII in the panel labels

The degree sign stays, as a unit, the way the other gizmos write it.
This commit is contained in:
ExPikaPaka
2026-09-30 09:02:33 +02:00
parent 4da478c7ad
commit 5d49423faa
2 changed files with 3 additions and 3 deletions
@@ -6919,9 +6919,9 @@ void GLGizmoTextureDisplacement::on_render_input_window(float x, float y, float
if (!slot_painted(l.slot)) if (!slot_painted(l.slot))
skipped.push_back(layer_name(l)); skipped.push_back(layer_name(l));
if (skipped.size() > 2) if (skipped.size() > 2)
note += " · " + Slic3r::format(_u8L("%1% layers not painted, skipped"), skipped.size()); note += ", " + Slic3r::format(_u8L("%1% layers not painted, skipped"), skipped.size());
else if (!skipped.empty()) else if (!skipped.empty())
note += " · " + Slic3r::format(_u8L("%1% not painted, skipped"), note += ", " + Slic3r::format(_u8L("%1% not painted, skipped"),
skipped.size() == 2 ? skipped[0] + ", " + skipped[1] : skipped[0]); skipped.size() == 2 ? skipped[0] + ", " + skipped[1] : skipped[0]);
} }
ImGui::PushTextWrapPos(x0 + panel_w); ImGui::PushTextWrapPos(x0 + panel_w);
+1 -1
View File
@@ -2086,7 +2086,7 @@ void UVEditorPanel::apply_state(const UVEditorCanvas::PaneState &s)
m_clear_seams->Enable(s.has_layer && s.has_seams); m_clear_seams->Enable(s.has_layer && s.has_seams);
m_clear_edits->Enable(s.has_layer && s.has_uv_edits); m_clear_edits->Enable(s.has_layer && s.has_uv_edits);
m_stats->SetLabel(s.unwrapped ? wxString::Format(_L("%d islands · %s faces"), s.island_count, m_stats->SetLabel(s.unwrapped ? wxString::Format(_L("%d islands, %s faces"), s.island_count,
wxString(std::to_string(s.face_count))) : wxString(std::to_string(s.face_count))) :
wxString()); wxString());
refresh_selection_tools(); refresh_selection_tools();