eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing world is broken when custom OCIO is set.

gad-ass opened this issue · comments

commented

Start with a clear and concise description of what the bug is, then provide:

  • Version of LilySurfaceScrapper: 1.8.1
  • Version of Blender: 3.5.1
  • Operating System: Windows 11
blender_4E0SEgSFi8.mp4

I have set up custom path for OCIO in Windows Environment and I think it's colliding with addon. :)

commented

Blender Log:

Python: Traceback (most recent call last):
File "C:\Users*\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\LilySurfaceScraper\frontend.py", line 382, in execute
world = data.createWorld()
File "C:\Users*\AppData\Roaming\Blender Foundation\Blender\3.5\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 ('ACES - ACEScc', 'ACES - ACEScct', 'AgX Log (Kraken)', 'AgX Log (SB2383)', 'ARRI LogC AWG', 'ARRI LogC4', 'BMDFilm WideGamut Gen5', 'Canon - CLog2 CGamut', 'Canon - CLog3 CGamut', 'DaVinci Intermediate WideGamut', 'Filmic Log', 'Linear - E-Gamut', 'Linear ACES - AP0', 'Linear ACES - AP1', 'Linear Rec2020', 'Linear Rec709/sRGB', 'Non-Color', 'Panasonic - VLog VGamut', 'RED - Log3G10 RWG', 'Sony - SLog3 SGamut3', 'Sony - SLog3 SGamut3Cine', 'sRGB', 'T-Log - E-Gamut', 'XYZ')

I think issue is on my side as far as I understand this log - have to somehow add 'Linear' profile to my config.