diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-07 11:16:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-07 11:16:01 +0300 |
commit | fe45d789d860ee6d59f5b973d7832237d6d0d269 (patch) | |
tree | f54c389c6dab8ae52357ae274b6b8ae33a12695e /io_scene_x3d | |
parent | 3b1f9d0501d541ec6ebc7da28a4f39f30096663e (diff) |
rename id.update() to update_tag()
Diffstat (limited to 'io_scene_x3d')
-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 |