blender-addons/io_scene_x3d
Mark Blair 93f61d1ef7 Fix T95455, T102384: Correct RGB color construction
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
2022-11-21 08:52:24 -03:00
..
__init__.py Fix T95455, T102384: Correct RGB color construction 2022-11-21 08:52:24 -03:00
export_x3d.py Cleanup: fix typos 2022-10-14 19:52:42 +02:00
import_x3d.py Fix T95455, T102384: Correct RGB color construction 2022-11-21 08:52:24 -03:00