From 077680b806c10b652c225ab04d329dac5bc4689b Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 24 Jul 2018 09:23:19 +0200 Subject: 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. --- lib/Slic3r/GUI/Plater.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Slic3r/GUI') 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; -- cgit v1.2.3