IndexError: list index out of range while importing wrl file
Open, NormalPublic

Description

System Information
Windows 10 and Windows 7 (Intel GPU)

Blender Version
Broken: 2.78c

Short description of error
Addon: Import VRML/X3D
IndexError: list index out of range while importing wrl file

Exact steps for others to reproduce the error
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_scene_x3d\__init__.py", line 81, in execute
  return import_x3d.load(context, **keywords)
File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_scene_x3d\import_x3d.py", line 3601, in load
  global_matrix=global_matrix,
File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_scene_x3d\import_x3d.py", line 3498, in load_web3d
  importShape(bpyscene, node, ancestry, global_matrix)
File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_scene_x3d\import_x3d.py", line 3122, in importShape
  bpydata = geom_fn(geom, ancestry, bpyima)
File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_scene_x3d\import_x3d.py", line 1982, in importMesh_IndexedFaceSet
  cco = [cco for (i, f) in enumerate(faces) for j in f
File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_scene_x3d\import_x3d.py", line 1983, in <listcomp>
  for cco in rgb[i]]

IndexError: list index out of range

location: <unknown location>:-1

With MeshLab 2016.12 I can open the file.

Details

Type
Bug