diff options
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index b4b9fe09..f2c86fe8 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -1700,7 +1700,7 @@ def importMesh_IndexedFaceSet(geom, bpyima, ancestry): # bpymesh.faces.extend(faces, smooth=True) # bpymesh.calcNormals() - bpymesh.update() + bpymesh.update_tag() if len(bpymesh.faces) != len(faces): print('\tWarning: adding faces did not work! file is invalid, not adding UVs or vcolors') @@ -1917,7 +1917,7 @@ def importMesh_PointSet(geom, ancestry): bpymesh.vertices.foreach_set("co", [a for v in points for a in v]) # bpymesh.calcNormals() # will just be dummy normals - bpymesh.update() + bpymesh.update_tag() return bpymesh GLOBALS['CIRCLE_DETAIL'] = 12 |