mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 09:36:06 +08:00
Fixed reloading of an object, which contains non-ASCII7 characters in its file name or path.
This commit is contained in:
parent
1842520ea6
commit
077680b806
@ -1665,7 +1665,7 @@ sub reload_from_disk {
|
||||
my $model_object = $self->{model}->objects->[$obj_idx];
|
||||
#FIXME convert to local file encoding
|
||||
return if !$model_object->input_file
|
||||
|| !-e $model_object->input_file;
|
||||
|| !-e Slic3r::encode_path($model_object->input_file);
|
||||
|
||||
my @new_obj_idx = $self->load_files([$model_object->input_file]);
|
||||
return if !@new_obj_idx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user