voronoi_scatter
voronoi_scatter copied to clipboard
Error when baking in unsaved file
Baking in an unsaved file to the default file path causes the following error:
Info: Baking map saved to internal image, save it externally or pack it
Saving Texture: Material_Scattershot_Displacement - {'format': 'OPEN_EXR', 'color_depth': '32', 'color_mode': 'RGB', 'quality': 100, 'tiff_codec': 'NONE', 'transform': 'Standard', 'look': 'None', 'exposure': 0, 'gamma': 1, 'use_curve_mapping': False}
Unable to create directory textures\
OpenEXR-save: ERROR: No such file or directory.
textures\Material_Scattershot_Displacement.exr: No such file or directory
Traceback (most recent call last):
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\voronoi_scatter\bake.py", line 481, in execute
bake_scatter(self, context, objects)
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\voronoi_scatter\bake.py", line 159, in bake_scatter
save_image(context, texture.image, format_settings)
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\voronoi_scatter\utilities.py", line 224, in save_image
image.save_render(filepath=bpy.path.abspath(image.filepath))
RuntimeError: Error: Could not write image: No such file or directory
Error: Image 'Material_Scattershot_Displacement' could not be saved to 'textures\Material_Scattershot_Displacement.exr'