eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL
Other
598 stars 59 forks source link

A traceback error in blender 4.0.0 #240

Closed MR0Euphoria closed 9 months ago

MR0Euphoria commented 12 months ago

Hey got this error when trying to importing a HRDI tow the world, (Thanks in advance)

Python: Traceback (most recent call last): File "C:\Users\emile\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\LilySurfaceScraper\frontend.py", line 382, in execute world = data.createWorld() File "C:\Users\emile\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\LilySurfaceScraper\CyclesWorldData.py", line 54, in createWorld texture_node.image.colorspace_settings.name = color_space["name"] TypeError: bpy_struct: item.attr = val: enum "Linear" not found in ('ACES2065-1', 'ACEScg', 'AgX Base Display P3', 'AgX Base Rec.1886', 'AgX Base Rec.2020', 'AgX Base sRGB', 'AgX Log', 'Display P3', 'Filmic Log', 'Filmic sRGB', 'Linear CIE-XYZ D65', 'Linear CIE-XYZ E', 'Linear DCI-P3 D65', 'Linear FilmLight E-Gamut', 'Linear Rec.2020', 'Linear Rec.709', 'Non-Color', 'Rec.1886', 'Rec.2020', 'sRGB')

amiralbatal commented 9 months ago

please update this plugin i think it's very helpful and a lotare using it already

eliemichel commented 9 months ago

This is fixed by #244 I believe!