diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index e3192596a..a5ef5ffed 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -3773,8 +3773,8 @@ void Plater::priv::reload_from_disk() for (size_t i = 0; i < replace_paths.size(); ++i) { const auto& path = replace_paths[i].string(); for (const SelectedVolume& sel_v : selected_volumes) { - ModelObject* old_model_object = model.objects[sel_v.object_idx]; - ModelVolume* old_volume = old_model_object->volumes[sel_v.volume_idx]; +// ModelObject* old_model_object = model.objects[sel_v.object_idx]; +// ModelVolume* old_volume = old_model_object->volumes[sel_v.volume_idx]; // bool has_source = !old_volume->source.input_file.empty() && boost::algorithm::iequals(fs::path(old_volume->source.input_file).filename().string(), fs::path(path).filename().string()); replace_volume_with_stl(sel_v.object_idx, sel_v.volume_idx, path, ""); }