X3D/VRML import: Fix blender/blender-addons#98442, check if USE-based cache is set in IndexedFaceSet #7
@ -1888,7 +1888,7 @@ def importMesh_IndexedFaceSet(geom, ancestry):
|
|||||||
if coord is None:
|
if coord is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if coord.reference:
|
if coord.reference and coord.getRealNode().parsed:
|
||||||
points = coord.getRealNode().parsed
|
points = coord.getRealNode().parsed
|
||||||
# We need unflattened coord array here, while
|
# We need unflattened coord array here, while
|
||||||
# importMesh_ReadVertices uses flattened. Can't cache both :(
|
# importMesh_ReadVertices uses flattened. Can't cache both :(
|
||||||
|
Loading…
Reference in New Issue
Block a user