Fix compilation and test suite

This commit is contained in:
Alessandro Ranellucci 2013-12-18 16:34:31 +01:00
parent 0591eecab7
commit 916a0a0e58
7 changed files with 59 additions and 21 deletions

View file

@ -108,6 +108,7 @@ sub init_print {
$model_name = [$model_name] if ref($model_name) ne 'ARRAY';
for my $model (map model($_, %params), @$model_name) {
$model->arrange_objects($config);
$model->center_instances_around_point($config->print_center);
$print->add_model_object($_) for @{$model->objects};
}
$print->validate;