Skip to content

Commit

Permalink
fix beartype odd behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Jan 19, 2025
1 parent 9539bb8 commit 2f30869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trimesh/visual/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
util.log.warning("unable to convert colors!")

@caching.cache_decorator
def transparency(self):
def transparency(self) -> bool:
"""
Does the current object contain any transparency.
Expand Down Expand Up @@ -250,7 +250,7 @@ def vertex_colors(self, values: ArrayLike):
self._data["vertex_colors"] = colors
self._cache.verify()

def _get_colors(self, name: str):
def _get_colors(self, name):
"""
A magical function which maintains the sanity of vertex and face colors.
Expand Down Expand Up @@ -480,7 +480,7 @@ def concatenate(
result = objects.concatenate(self, other, *args)
return result

def _update_key(self, mask: ArrayLike, key):
def _update_key(self, mask, key):
"""
Mask the value contained in the DataStore at a specified key.
Expand Down

0 comments on commit 2f30869

Please sign in to comment.