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 f2c86fe8..b4b9fe09 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_tag() + bpymesh.update() 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_tag() + bpymesh.update() return bpymesh GLOBALS['CIRCLE_DETAIL'] = 12 |