mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
When loading an AMF file having multiple objects that look like multiple parts of a single object, prompt user and ask how to consider it. #2970
Conflicts: lib/Slic3r/Model.pm
This commit is contained in:
parent
dfb1ec99ac
commit
dd879c3ef2
4 changed files with 40 additions and 2 deletions
|
@ -143,6 +143,7 @@ sub end_document {
|
|||
}
|
||||
|
||||
foreach my $instance (@{ $self->{_instances}{$object_id} }) {
|
||||
next if !defined($instance->{deltax}) || !defined($instance->{deltay});
|
||||
$self->{_model}->objects->[$new_object_id]->add_instance(
|
||||
rotation => $instance->{rz} || 0,
|
||||
offset => Slic3r::Pointf->new($instance->{deltax} || 0, $instance->{deltay} || 0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue