mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 08:56:02 +08:00
Follow-up of 7d8749077743a9c197726539d8eb6a5a036e5e41 - Fix into function reloadable_volumes()
This commit is contained in:
parent
7d87490777
commit
81b9997009
@ -3545,7 +3545,7 @@ static std::vector<std::pair<int, int>> reloadable_volumes(const Model& model, c
|
||||
if (0 <= v_idx && v_idx < int(obj->volumes.size())) {
|
||||
const ModelVolume* vol = obj->volumes[v_idx];
|
||||
if (!vol->source.is_from_builtin_objects && !vol->source.input_file.empty() &&
|
||||
vol->source.input_file != obj->input_file && !fs::path(vol->source.input_file).extension().string().empty())
|
||||
!fs::path(vol->source.input_file).extension().string().empty())
|
||||
ret.push_back({ o_idx, v_idx });
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user