mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Bugfix: AMF export was not working anymore. #799
This commit is contained in:
parent
7310cec087
commit
8d557bee8c
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ sub make_model {
|
||||||
material_id => $volume->material_id,
|
material_id => $volume->material_id,
|
||||||
facets => $volume->facets,
|
facets => $volume->facets,
|
||||||
);
|
);
|
||||||
$model->materials->{$volume->material_id || 0} ||= {};
|
$model->set_material($volume->material_id || 0, {});
|
||||||
}
|
}
|
||||||
$new_model_object->scale($plater_object->scale);
|
$new_model_object->scale($plater_object->scale);
|
||||||
$new_model_object->add_instance(
|
$new_model_object->add_instance(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue