--- a/intern/cycles/blender/addon/osl.py +++ b/intern/cycles/blender/addon/osl.py @@ -271,6 +271,8 @@ def update_script_node(node, report): """compile and update shader script node""" import os + # Register the TypeDesc bindings used by the system oslquery module. + import OpenImageIO import oslquery oso_file_remove = False @@ -326,6 +328,8 @@ def update_custom_camera_shader(cam, report): """compile and update custom camera shader""" import os + # Register the TypeDesc bindings used by the system oslquery module. + import OpenImageIO import oslquery oso_file_remove = False