The_Lightmapper icon indicating copy to clipboard operation
The_Lightmapper copied to clipboard

sequence expected at dimension 1, not 'float'

Open 23Mounir23 opened this issue 3 years ago • 3 comments

it is worknig but without applying the denoising, this is the text of issue Python: Traceback (most recent call last): File "C:\Users\mounir\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\The_Lightmapper-master\addon\operators\tlm.py", line 52, in invoke build.prepare_build(self, False) File "C:\Users\mounir\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\The_Lightmapper-master\addon\utility\build.py", line 95, in prepare_build begin_build() File "C:\Users\mounir\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\The_Lightmapper-master\addon\utility\build.py", line 613, in begin_build manage_build() File "C:\Users\mounir\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\The_Lightmapper-master\addon\utility\build.py", line 631, in manage_build nodes.apply_materials(load_atlas) #From here the name is changed... File "C:\Users\mounir\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\The_Lightmapper-master\addon\utility\cycles\nodes.py", line 272, in apply_materials baseColorNode.outputs[0].default_value = baseColorValue ValueError: bpy_struct: item.attr = val: sequence expected at dimension 1, not 'float'

location: :-1

23Mounir23 avatar May 02 '21 20:05 23Mounir23

Hi,

Can you make a screenshot of your material setup?

Naxela avatar May 03 '21 08:05 Naxela

materials usually i have more yhan this materials on one object

23Mounir23 avatar May 03 '21 12:05 23Mounir23

Oh I see, if you turn on the verbose toggle in the options settings and try to run the lightmapping again, it should say which material it is working with right before you get the error.

It seems from the error message that one of the color inputs is getting a number (float) / black&white input instead (the grey dot instead of a color vector (yellow dot))

Naxela avatar May 03 '21 12:05 Naxela