mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Use AMF object and volume metadata for handling per-object and per-volume settings
This commit is contained in:
parent
4d67f902b6
commit
f82a8475a1
7 changed files with 47 additions and 27 deletions
|
@ -186,8 +186,9 @@ sub add_model_object {
|
|||
my $config = Slic3r::Config::PrintRegion->new;
|
||||
$config->apply($self->default_region_config);
|
||||
|
||||
# override the defaults with per-object config and then with per-material config
|
||||
# override the defaults with per-object config and then with per-material and per-volume configs
|
||||
$config->apply_dynamic($object_config);
|
||||
$config->apply_dynamic($volume->config);
|
||||
|
||||
if (defined $volume->material_id) {
|
||||
my $material_config = $volume->material->config->clone;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue