Escape ## in name of style in imgui visualization(issue 61)
This commit is contained in:
parent
6e15149e7a
commit
3bd557b177
4 changed files with 24 additions and 3 deletions
src/slic3r/GUI/Gizmos
|
@ -1778,7 +1778,8 @@ void GLGizmoEmboss::draw_style_list() {
|
|||
std::string &trunc_name = m_style_manager.get_truncated_name();
|
||||
if (trunc_name.empty()) {
|
||||
// generate trunc name
|
||||
const std::string ¤t_name = actual_style.name;
|
||||
std::string current_name = actual_style.name;
|
||||
ImGuiWrapper::escape_double_hash(current_name);
|
||||
trunc_name = ImGuiWrapper::trunc(current_name, max_style_name_width);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue