Follow-up of d2e495c700
- Fixed other warnings
This commit is contained in:
parent
3c43d0ae43
commit
e031001f0a
@ -3773,8 +3773,8 @@ void Plater::priv::reload_from_disk()
|
|||||||
for (size_t i = 0; i < replace_paths.size(); ++i) {
|
for (size_t i = 0; i < replace_paths.size(); ++i) {
|
||||||
const auto& path = replace_paths[i].string();
|
const auto& path = replace_paths[i].string();
|
||||||
for (const SelectedVolume& sel_v : selected_volumes) {
|
for (const SelectedVolume& sel_v : selected_volumes) {
|
||||||
ModelObject* old_model_object = model.objects[sel_v.object_idx];
|
// ModelObject* old_model_object = model.objects[sel_v.object_idx];
|
||||||
ModelVolume* old_volume = old_model_object->volumes[sel_v.volume_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, "");
|
replace_volume_with_stl(sel_v.object_idx, sel_v.volume_idx, path, "");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user