diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 6b2c7afc3..bff213af7 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -1876,7 +1876,7 @@ def importMesh_IndexedFaceSet(geom, ancestry): ccw = geom.getFieldAsBool('ccw', True, ancestry) coord = geom.getChildBySpec('Coordinate') - if coord.reference: + if coord.reference and coord.getRealNode().parsed: points = coord.getRealNode().parsed # We need unflattened coord array here, while # importMesh_ReadVertices uses flattened. Can't cache both :(