mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-06-04 11:14:17 +08:00
Bugfix: AMF export was not working anymore. #799
This commit is contained in:
parent
7310cec087
commit
8d557bee8c
@ -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…
x
Reference in New Issue
Block a user