eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL
Other
597 stars 58 forks source link

unable to upload a texture or HDR #241

Closed BDuquenoy closed 8 months ago

BDuquenoy commented 10 months ago

Windows 10 Enterprise/Blender 4.0.1/LilySurfaceScraper 1.8.1

Python: Traceback (most recent call last): File "C:\Users\a178290\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\LilySurfaceScraper\frontend.py", line 327, in execute raise err File "C:\Users\a178290\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\LilySurfaceScraper\frontend.py", line 319, in execute bpy.ops.object.lily_world_import('EXEC_DEFAULT', url=bpy.context.window_manager.clipboard) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 107, in call ret = _op_call(self.idname_py(), kw, C_exec, C_undo) RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Users\a178290\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\LilySurfaceScraper\frontend.py", line 298, in execute world = data.createWorld() File "C:\Users\a178290\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') Location: C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py:107

eliemichel commented 8 months ago

Fixed by #244 sorry for not reacting earlier!