Fixed a bug in manipulation of multi-component bodies.

This commit is contained in:
bubnikv 2017-02-10 11:24:54 +01:00
parent 152026fa08
commit 61f9414b09

View file

@ -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 {