From 0d77ff5270bb3e8fb47ac05e0f6f89e11e94d963 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 16 Sep 2024 17:35:28 +0500 Subject: [PATCH] remove debug code --- src/bonsai/bonsai/tool/loader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bonsai/bonsai/tool/loader.py b/src/bonsai/bonsai/tool/loader.py index dd2a4acb53..9b7b62166a 100644 --- a/src/bonsai/bonsai/tool/loader.py +++ b/src/bonsai/bonsai/tool/loader.py @@ -296,7 +296,6 @@ class Loader(bonsai.core.tool.Loader): value = texture["RasterCode"] image_bytes = int(value, 2).to_bytes(len(value) // 8, "big") pil_image = Image.open(io.BytesIO(image_bytes)) - pil_image.save("test_image.png") byte_to_normalized = 1.0 / 255.0 bpy_image = bpy.data.images.new("blob_texture", width=pil_image.width, height=pil_image.height) # PIL returns rows ordered from top to bottom, blender from bottom to top