Fix of mangled UTF8 characters in ModelVolume name after copy / paste.
This commit is contained in:
parent
79fe6b9db3
commit
325a5b8682
@ -579,7 +579,7 @@ void ObjectList::paste_volumes_into_list(int obj_idx, const ModelVolumePtrs& vol
|
||||
|
||||
for (const ModelVolume* volume : volumes)
|
||||
{
|
||||
const wxDataViewItem& vol_item = m_objects_model->AddVolumeChild(object_item, volume->name, volume->type(),
|
||||
const wxDataViewItem& vol_item = m_objects_model->AddVolumeChild(object_item, wxString::FromUTF8(volume->name.c_str()), volume->type(),
|
||||
volume->get_mesh_errors_count()>0 ,
|
||||
volume->config.has("extruder") ? volume->config.option<ConfigOptionInt>("extruder")->value : 0);
|
||||
auto opt_keys = volume->config.keys();
|
||||
|
Loading…
Reference in New Issue
Block a user