Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r--io_scene_x3d/import_x3d.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 1cfb2837..6472f654 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -28,7 +28,7 @@ import shlex
def imageConvertCompat(path):
if os.sep == '\\':
- return path # assime win32 has quicktime, dont convert
+ return path # assume win32 has quicktime, dont convert
if path.lower().endswith('.gif'):
path_to = path[:-3] + 'png'
@@ -1684,6 +1684,7 @@ def importMesh_IndexedFaceSet(geom, bpyima, ancestry):
if len(bpymesh.tessfaces) != len(faces):
print('\tWarning: adding faces did not work! file is invalid, not adding UVs or vcolors')
+ bpymesh.update()
return bpymesh, ccw
# Apply UVs if we have them