diff options
Diffstat (limited to 'blenderkit/image_utils.py')
-rw-r--r-- | blenderkit/image_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/image_utils.py b/blenderkit/image_utils.py index fce1cafd..214168af 100644 --- a/blenderkit/image_utils.py +++ b/blenderkit/image_utils.py @@ -1,5 +1,4 @@ import bpy -import numpy import os def get_orig_render_settings(): @@ -67,6 +66,7 @@ def set_colorspace(img, colorspace): print(f'Colorspace {colorspace} not found.') def generate_hdr_thumbnail(): + import numpy scene = bpy.context.scene ui_props = scene.blenderkitUI hdr_image = ui_props.hdr_upload_image#bpy.data.images.get(ui_props.hdr_upload_image) |