Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-07-24 10:23:19 +0300
committerbubnikv <bubnikv@gmail.com>2018-07-24 10:23:19 +0300
commit077680b806c10b652c225ab04d329dac5bc4689b (patch)
treece082e4677471be7d675b1f48bba48210c200078 /lib/Slic3r/GUI
parent1842520ea65d6952875fbe162fbbb76e4547262d (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.pm2
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;