mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Github: #2209 #2246 Change-Id: I12ab1e08eaeff334315136914f0c20cc2c78fd98 (cherry picked from commit 52add084e65bbbbd4e8b8a6f585632b6afda7d6a)
This commit is contained in:
parent
264f02e8d8
commit
763cff046c
1 changed files with 1 additions and 1 deletions
|
@ -4765,7 +4765,7 @@ bool Plater::priv::replace_volume_with_stl(int object_idx, int volume_idx, const
|
|||
|
||||
Model new_model;
|
||||
try {
|
||||
new_model = Model::read_from_file(path, nullptr, nullptr, LoadStrategy::AddDefaultInstances);
|
||||
new_model = Model::read_from_file(path, nullptr, nullptr, LoadStrategy::AddDefaultInstances | LoadStrategy::LoadModel);
|
||||
for (ModelObject* model_object : new_model.objects) {
|
||||
model_object->center_around_origin();
|
||||
model_object->ensure_on_bed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue