remove debug code

This commit is contained in:
Andrej730
2024-09-16 17:35:28 +05:00
parent c75fa70d23
commit 0d77ff5270
-1
View File
@@ -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