Skip to content

Commit 0b41d8c

Browse files
committed
Remove commented out code
CURA-12528
1 parent 1e5e6b5 commit 0b41d8c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

UM/Mesh/MeshData.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -411,20 +411,15 @@ def invertNormals(self) -> None:
411411

412412
def calculateUnwrappedUVCoordinates(self) -> Optional[tuple[int, int]]:
413413
"""Create a new set of unwrapped texture coordinates for the mesh."""
414-
# remove_indices = False
415414
if self._indices is None:
416415
if self._vertices is None or self._vertex_count < 3:
417416
return None
418-
# remove_indices = True
419417
indices = numpy.arange(self._vertex_count, dtype=numpy.int32).reshape(-1, 3) # 3 verts per sub-array.
420418
else:
421419
indices = numpy.array()
422420

423421
self._uvs, texture_width, texture_height = uvula.unwrap(self._vertices, indices)
424422

425-
# if remove_indices:
426-
# self._indices = None
427-
428423
return texture_width, texture_height
429424

430425
def toString(self) -> str:

0 commit comments

Comments
 (0)