Drawing some lines in OnPaint function of widget is creating artifacts in viewport

Hi Rudy, seems I have overlooked your answer…

  1. 4.7.5
  2. I have not tried
  3. Create a widget where you put the stuff in OnPaint what I have shown in the first screenshot and add this widget to the viewport. Hit play and move the camera around.
  4. Other widgets which are the parent of the widget, but that should not matter