It was using UI_draw_roundbox_aa which is not available when drawing with the view3d opengl context (because of VAO not being shared). Replace with simpler rect box. Of course it's a bit more ugly but at least it's working.
It was using UI_draw_roundbox_aa which is not available when drawing with the view3d opengl context (because of VAO not being shared). Replace with simpler rect box. Of course it's a bit more ugly but at least it's working.