Skip to content

Commit

Permalink
Merge 1989284 into dd6dbd8
Browse files Browse the repository at this point in the history
  • Loading branch information
kapsl committed Apr 26, 2021
2 parents dd6dbd8 + 1989284 commit e990989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrender/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _get_trimesh_props(mesh, smooth=False, material=None):
# Process texture colors
if mesh.visual.kind == 'texture':
# Configure UV coordinates
if mesh.visual.uv is not None:
if mesh.visual.uv is not None and len(mesh.visual.uv) != 0:
uv = mesh.visual.uv.copy()
if smooth:
texcoords = uv
Expand Down

0 comments on commit e990989

Please sign in to comment.