Fixed update of the SLA back end object properties, leading to
the "disable supports" and "disable pad" flags being ignored after the project was loaded.
This commit is contained in:
parent
666e9687ce
commit
343d2ea16d
1 changed files with 4 additions and 1 deletions
|
@ -425,7 +425,10 @@ SLAPrint::ApplyStatus SLAPrint::apply(const Model &model, const DynamicPrintConf
|
||||||
print_object->set_trafo(sla_trafo(*this, model_object), model_object.instances.front()->is_left_handed());
|
print_object->set_trafo(sla_trafo(*this, model_object), model_object.instances.front()->is_left_handed());
|
||||||
|
|
||||||
print_object->set_instances(std::move(new_instances));
|
print_object->set_instances(std::move(new_instances));
|
||||||
print_object->config_apply(config, true);
|
|
||||||
|
SLAPrintObjectConfig new_config = m_default_object_config;
|
||||||
|
normalize_and_apply_config(new_config, model_object.config);
|
||||||
|
print_object->config_apply(new_config, true);
|
||||||
print_objects_new.emplace_back(print_object);
|
print_objects_new.emplace_back(print_object);
|
||||||
new_objects = true;
|
new_objects = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue