carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.82k stars 427 forks source link

Problem loading config.ocio (and my fix for linux) #476

Closed TutajITeraz closed 1 year ago

TutajITeraz commented 1 year ago

Description

On my linux machine, Composite Node for AI rendering was unable to load color management profile config.ocio

It was trying to load it from the path that does not exist in linux os.

I needed to change the code:

bpy.utils.resource_path('LOCAL')

to:

bpy.utils.resource_path('SYSTEM')

in two places of the plugin, and now it works.

Steps to Reproduce

Connect composite node press f12 to render

Expected Behavior

ai render should show up

Addon Version

Other (Built from source)

GPU

NVIDIA

carson-katri commented 1 year ago

Feel free to make a PR to add this fix for Linux.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 7 days since being marked as stale.