Page MenuHome

Fbx Importer error
Closed, ResolvedPublic

Description

Win and Ubuntu 16.04

Blender Version
Broken: b'9609828' 2.79 from builder
Worked: 2.79 stable

Only import the .fbx

This fbx file come from Blender fbx Exporter.

Thanks!

Details

Type
Bug

Event Timeline

LazyDodo (LazyDodo) triaged this task as Confirmed, Medium priority.

@Bastien Montagne (mont29) mind taking a look at your favorite importer/exporter?

Traceback (most recent call last):
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\__init__.py", line 234, in execute
    return import_fbx.load(self, context, **keywords)
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 2443, in load
    _(); del _
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 2442, in _
    fbx_item[1] = blen_read_geom(fbx_tmpl, fbx_obj, settings)
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 1152, in blen_read_geom
    blen_read_geom_layer_color(fbx_obj, mesh)
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 1006, in blen_read_geom_layer_color
    4, 3, layer_id,
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 901, in blen_read_geom_array_mapped_polyloop
    blen_data, blen_attr, fbx_layer_data, stride, item_size, descr, xform)
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 758, in blen_read_geom_array_setattr
    _process(blen_data, blen_attr, fbx_data, xform, item_size, blen_idx, fbx_idx)
  File "k:\BlenderGit\build_windows_Release_noge_x64_vc12_Release\bin\Release\2.79\scripts\addons\io_scene_fbx\import_fbx.py", line 753, in _process
    setattr(blen_data[blen_idx], blen_attr, fbx_data[fbx_idx:fbx_idx + item_size])
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3
Bastien Montagne (mont29) closed this task as Resolved.Oct 5 2017, 11:37 PM

Thanbks for the report, but issue has been fixed already earlier today (rBA8f8fcfaad1f1).