One more fix to 3D honeycomb not covering the entire area after last commit

This commit is contained in:
Alessandro Ranellucci 2014-12-29 15:52:48 +01:00
parent 67d7658c59
commit 1c0437bc7b

View File

@ -36,8 +36,8 @@ sub fill_surface {
makeGrid( makeGrid(
scale($self->z), scale($self->z),
$distance, $distance,
ceil($size->x / $distance), ceil($size->x / $distance) + 1,
ceil($size->y / $distance), #// ceil($size->y / $distance) + 1, #//
(($self->layer_id / $surface->thickness_layers) % 2) + 1, (($self->layer_id / $surface->thickness_layers) % 2) + 1,
); );