1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

Revert "Dereference the Wx object id when removing an object in the plater."

This reverts commit 4979029cd2.
This commit is contained in:
Nicolas Dandrimont
2012-08-11 16:00:41 +02:00
parent 4979029cd2
commit 7b0d4cb4e1
+1 -3
View File
@@ -323,9 +323,7 @@ sub object_loaded {
sub remove {
my $self = shift;
my ($obj) = @_;
my $obj_idx = $obj->GetInt();
my ($obj_idx) = @_;
if (defined $obj_idx) {
$self->{print}->copies->[$obj_idx][$_] = undef