Skip to content

Commit

Permalink
modified: trimesh/voxel/ops.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bhacha committed Nov 5, 2024
1 parent 794d44e commit 5cd78d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trimesh/voxel/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def matrix_to_marching_cubes(matrix, pitch=1.0, threshold=None):
if isinstance(threshold, float) or isinstance(threshold, int) :
matrix_as_array = np.asarray(matrix)
matrix = np.where(matrix_as_array > threshold, True, False)
print(matrix.shape)
else:
matrix = np.asanyarray(matrix, dtype=bool)

Expand Down

0 comments on commit 5cd78d8

Please sign in to comment.