Skip to content

Commit

Permalink
Fixed a bug in manipulation of multi-component bodies.
Browse files Browse the repository at this point in the history
  • Loading branch information
bubnikv committed Feb 10, 2017
1 parent 152026f commit 61f9414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Slic3r/GUI/3DScene.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ has 'layer_height_texture_cells' => (is => 'rw');

sub object_idx {
my ($self) = @_;
return $self->composite_id / 1000000;
return int($self->composite_id / 1000000);
}

sub volume_idx {
Expand Down

0 comments on commit 61f9414

Please sign in to comment.