Skip to content

Commit

Permalink
Merge pull request #478 from NicholasZiglio/misc/fix_missing_mesh_err…
Browse files Browse the repository at this point in the history
…or_typo

[MISC] Fix typo in ValueError message for missing mesh
  • Loading branch information
zhouxian authored Jan 6, 2025
2 parents beca335 + ce94af5 commit c5489ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genesis/ext/urdfpy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def load_meshes(filename):
if isinstance(meshes, (list, tuple, set)):
meshes = list(meshes)
if len(meshes) == 0:
raise ValueError("At least one mesh must be pmeshesent in file")
raise ValueError("At least one mesh must be present in file")
for r in meshes:
if not isinstance(r, trimesh.Trimesh):
raise TypeError("Could not load meshes from file")
Expand Down

0 comments on commit c5489ae

Please sign in to comment.