93f61d1ef7
Per notes on T95455: An exception is occurring in the import_x3d module, https://developer.blender.org/diffusion/BA/browse/master/io_scene_x3d/import_x3d.py the appearance_CreateDefaultMaterial function; at line 2764 the base color is being set to (0.8,0.8,0.8,1.0), that is, an RGBA color. In further processing, this value gets passed to utilty rgb_to_rgba in node_shader_utils.py ( https://developer.blender.org/diffusion/BS/browse/master/release/scripts/modules/bpy_extras/node_shader_utils.py ) Another value 1.0 is added t the color - tuple, leading to a invalid value of 5 numeric elements. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D16453 |
||
---|---|---|
.. | ||
__init__.py | ||
export_x3d.py | ||
import_x3d.py |