diff options
author | bubnikv <bubnikv@gmail.com> | 2018-07-24 10:23:19 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-07-24 10:23:19 +0300 |
commit | 077680b806c10b652c225ab04d329dac5bc4689b (patch) | |
tree | ce082e4677471be7d675b1f48bba48210c200078 /lib/Slic3r/GUI | |
parent | 1842520ea65d6952875fbe162fbbb76e4547262d (diff) |
Fix of https://github.com/prusa3d/Slic3r/issues/1068
Fixed reloading of an object, which contains non-ASCII7 characters
in its file name or path.
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r-- | lib/Slic3r/GUI/Plater.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 4a56ce632..56038ca9e 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -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; |