X3D/VRML import: Fix #98442, check if USE-based cache is set in IndexedFaceSet #104596
@ -1876,7 +1876,7 @@ def importMesh_IndexedFaceSet(geom, ancestry):
|
|||||||
|
|
||||||
ccw = geom.getFieldAsBool('ccw', True, ancestry)
|
ccw = geom.getFieldAsBool('ccw', True, ancestry)
|
||||||
coord = geom.getChildBySpec('Coordinate')
|
coord = geom.getChildBySpec('Coordinate')
|
||||||
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