mirror of https://github.com/vitalif/Slic3r
Revert "Dereference the Wx object id when removing an object in the plater."
This reverts commit 4979029cd2
.
degen-loop-screen
parent
4979029cd2
commit
7b0d4cb4e1
|
@ -323,9 +323,7 @@ sub object_loaded {
|
||||||
|
|
||||||
sub remove {
|
sub remove {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($obj) = @_;
|
my ($obj_idx) = @_;
|
||||||
|
|
||||||
my $obj_idx = $obj->GetInt();
|
|
||||||
|
|
||||||
if (defined $obj_idx) {
|
if (defined $obj_idx) {
|
||||||
$self->{print}->copies->[$obj_idx][$_] = undef
|
$self->{print}->copies->[$obj_idx][$_] = undef
|
||||||
|
|
Loading…
Reference in New Issue