Skip to content

Commit

Permalink
fix make sparse_solid consistent to changes of indices_to_points made…
Browse files Browse the repository at this point in the history
… by mikedh#260
  • Loading branch information
LinJiarui committed Apr 4, 2019
1 parent 27ffaf4 commit 5f925bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trimesh/voxel.py
Expand Up @@ -294,7 +294,7 @@ def sparse_solid(self):
filled: (n, 3) int, filled cells in or on mesh.
"""
filled = fill_voxelization(self.sparse_surface)
return filled
return filled+0.5

def as_boxes(self, solid=False):
"""
Expand Down

0 comments on commit 5f925bb

Please sign in to comment.