Hello, thanks for the tool it’s really AWESOME !
I found an issue with Blender 3.5 and Aseprite 1.2.40. The UVMap is not sent to Aseprite because of the following :
The whole thing come from the script pribambase/image.py. I think you add the condition on line 24
if bpy.app.version < (3, 5, 0):
import bgl
to get rid of the warn about bgl deprecation on Blender 4.0
But this check is creating an issue on line 188
buffer = bgl.Buffer(bgl.GL_BYTE, nbuf.shape, nbuf)
bgl.glReadPixels(0, 0, w, h, bgl.GL_RGBA, bgl.GL_UNSIGNED_BYTE, buffer)
Where you need bgl to parse the buffer and read Pixels.
I “fixed” this by removing the condition on line 24 but it’s just a work around.
Hope this is helpful.
Edit : Fix markdown layout




