forked from blender/blender-addons
Caching generated image leads to infinite loop in preview render #15
@ -383,7 +383,7 @@ def cache_image_file(image: bpy.types.Image, cache_check=True):
|
|||||||
|
|
||||||
temp_path = _bpy_hydra.cache_image(bpy.context.as_pointer(), scene.as_pointer(), image.as_pointer())
|
temp_path = _bpy_hydra.cache_image(bpy.context.as_pointer(), scene.as_pointer(), image.as_pointer())
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("ERROR: no Hydra scene delegate available")
|
print("ERROR: No Hydra scene delegate available")
|
||||||
finally:
|
finally:
|
||||||
scene.render.image_settings.file_format = user_format
|
scene.render.image_settings.file_format = user_format
|
||||||
scene.render.image_settings.color_mode = user_color_mode
|
scene.render.image_settings.color_mode = user_color_mode
|
||||||
|
Loading…
Reference in New Issue
Block a user