1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: AMF export was not working anymore. #799

This commit is contained in:
Alessandro Ranellucci
2012-11-16 22:41:54 +01:00
parent 7310cec087
commit 8d557bee8c
+1 -1
View File
@@ -705,7 +705,7 @@ sub make_model {
material_id => $volume->material_id,
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->add_instance(