Open lauramurgatroyd opened 2 years ago
EPAC-CT app only started doing this after I introduced a 2nd viewer. Need to make minimal examples with iviewer to see why it happens
Made an example with just the 3D viewer and it happens when we close that so seems to just be related to the 3D viewer.
No error if running the 3D viewer without Qt
The error does not appear in the CIL-GUI, only in iDVC and the standalone viewer.
That's because the CIL-GUI doesn't have the 3D viewer
I believe @DanicaSTFC told me that it is because the Qt application quits before destroying the VTK viewer.
2022-04-27 11:58:48.094 ( 8.753s) [ ]vtkWin32OpenGLRenderWin:217 ERR| vtkWin32OpenGLRenderWindow (0000012B1A1838B0): wglMakeCurrent failed in MakeCurrent(), error: The handle is invalid.