Open imagitama opened 1 year ago
Fixed by catching all exceptions and just creating a new mesh:
def create_objects(nodes, meshes):
objects = []
for node in nodes:
name = node['name']
print(node)
try:
mesh = meshes[node['mesh']]
- except KeyError:
+ except:
mesh = bpy.data.meshes.new(name)
obj = bpy.data.objects.new(name, mesh)
Tried importing best LOD of the cockpit of the A32NX from FlyByWire (
A320_NEO_INTERIOR_LOD00.gltf
) and I get this error:Tested in Blender 3.1.2, 2.9 and 2.8.
The other LODs and exterior meshes import correctly.