jayanam / bl_ui_widgets

UI Widgets for Blender 2.8
GNU General Public License v3.0
150 stars 38 forks source link

When switching from Blender to other applications the widgets with images in them will turn Black. #1

Closed antonyjones67 closed 3 years ago

antonyjones67 commented 5 years ago

NVIDIA Geoforce 1060 GTX Driver version 430.39

image

When switching from Blender to other applications the widgets with images in them will turn Black.

If you hit Ctrl-Shift-F again it fixes the images in the widgets.

Would be grateful for any ideas. Thank you.

atek23 commented 5 years ago

Same here but without switching to other applications. Tried to debug but I cant find the root of the problem. The buttons' images turn black randomly when using the program.

atek23 commented 4 years ago

Found the error, simply put self.__image.gl_touch() inside the try case in the BL_UI_Button.draw_image function. https://docs.blender.org/api/current/bpy.types.Image.html?highlight=gl_touch#bpy.types.Image.gl_touch

vilemduha commented 3 years ago

Why was this closed? clearly happens in recent versions