diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-25 16:14:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-25 16:14:39 +0400 |
commit | eae792d174fb48814f42fd5eb16258ad60c25e23 (patch) | |
tree | cbb84acd4e1e3df076b2a51c8f3497598ee53596 /io_scene_x3d/import_x3d.py | |
parent | b39c8c2650111a4dcd3417baf1742b6fac81a08b (diff) |
fix for off-by-one error on X3D import
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 6472f654..7b18fda9 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -1701,7 +1701,7 @@ def importMesh_IndexedFaceSet(geom, bpyima, ancestry): for j, uv in enumerate(f.uv): # print(fuv, j, len(ifs_texpoints)) try: - f.uv[j] = ifs_texpoints[fuv[j]] # XXX25, speedup + f.uv[j] = ifs_texpoints[fuv[j] + 1] # XXX25, speedup except: print('\tWarning: UV Index out of range') f.uv[j] = ifs_texpoints[0] # XXX25, speedup |