Fixed warning
This commit is contained in:
parent
19f919eca1
commit
d2e495c700
1 changed files with 1 additions and 1 deletions
|
@ -3775,7 +3775,7 @@ void Plater::priv::reload_from_disk()
|
|||
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];
|
||||
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());
|
||||
// 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, "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue