X3D/VRML import: Fix blender/blender-addons#98442, check if USE-based cache is set in IndexedFaceSet #7
@ -1878,7 +1878,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 :(
|
||||
|
Loading…
Reference in New Issue
Block a user