Fix T79438: Export UV Layout doesn't respect UVs alpha

This commit is contained in:
Campbell Barton 2020-08-01 17:22:10 +10:00
parent 2f73d67f25
commit 7da2a313f9
Notes: blender-bot 2023-02-13 21:37:18 +01:00
Referenced by issue blender/blender#79438, Export UV Layout doesn't respect UVs alpha
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ def export(filepath, face_data, colors, width, height, opacity):
offscreen.bind()
try:
bgl.glClearColor(0.0, 0.0, 0.0, 0.0)
bgl.glClear(bgl.GL_COLOR_BUFFER_BIT)
draw_image(face_data, opacity)