Bugfix: AMF export was not working anymore. #799

This commit is contained in:
Alessandro Ranellucci committed 2012-11-16 22:41:54 +01:00
1 parent 7310cec087
commit 8d557bee8c
1 file changed
+1 -1
+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(