diff options
-rw-r--r-- | lib/Slic3r/GUI/3DScene.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/3DScene.pm b/lib/Slic3r/GUI/3DScene.pm index 1ff174c5d..740fbcc10 100644 --- a/lib/Slic3r/GUI/3DScene.pm +++ b/lib/Slic3r/GUI/3DScene.pm @@ -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 { |