Artifacts when toggling vtkActor/vtkProperty edge visibility
With the current VTK master (2867d7a3) I noticed edge artifacts when toggling the edge visibility in vtkProperty of a vtkActor. If the edge visibility is turned on once, it is not possibly anymore to complete hide the edges. Instead "half width" edges remain.
This happens on my machine with the OpenGL2 backend on an integrated Intel (HD 5500) and NVIDIA (940M) graphics. Using an OpenGL context created by QVTKOpenGLWidget seems to produce the same result. It old OpenGL backend is not affected. I tested it on Windows and Linux (64bit builds).
This example main.cppCMakeLists.txt demonstrates the behavior. Repeatedly clicking on any key toggles between edges and artifacts. Note that the vtkWindowToImageFilter in the example doesn't affect the result.
I'm sure this worked correctly in some older version of VTK (maybe some weeks/months ago).
Initially: EdgeVisibility==0 Enabling EdgeVisibility: Disabling EdgeVisibility: