TomographicImaging / CILViewer

A simple Viewer for 3D data built with VTK
Apache License 2.0
8 stars 6 forks source link

Error upon closing app with 3D viewer #226

Open lauramurgatroyd opened 2 years ago

lauramurgatroyd commented 2 years ago

2022-04-27 11:58:48.094 ( 8.753s) [ ]vtkWin32OpenGLRenderWin:217 ERR| vtkWin32OpenGLRenderWindow (0000012B1A1838B0): wglMakeCurrent failed in MakeCurrent(), error: The handle is invalid.

lauramurgatroyd commented 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

lauramurgatroyd commented 2 years ago

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.

lauramurgatroyd commented 2 years ago

No error if running the 3D viewer without Qt

DanicaSTFC commented 3 weeks ago

The error does not appear in the CIL-GUI, only in iDVC and the standalone viewer.

lauramurgatroyd commented 3 weeks ago

That's because the CIL-GUI doesn't have the 3D viewer

paskino commented 5 days ago

I believe @DanicaSTFC told me that it is because the Qt application quits before destroying the VTK viewer.