Ported three PrintObject methods to XS

This commit is contained in:
Alessandro Ranellucci 2014-11-13 00:34:56 +01:00
parent f8986d0ef5
commit 33fe53fd7c
5 changed files with 31 additions and 21 deletions

View file

@ -571,7 +571,7 @@ sub increase {
scaling_factor => $last_instance->scaling_factor,
rotation => $last_instance->rotation,
);
$self->{print}->objects->[$obj_idx]->add_copy(@{$i->offset});
$self->{print}->objects->[$obj_idx]->add_copy($i->offset);
$self->{list}->SetItem($obj_idx, 1, $model_object->instances_count);
# only autoarrange if user has autocentering enabled