3dct / open_iA

A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
GNU General Public License v3.0
40 stars 16 forks source link

OpenGL error messages (in debug mode) when closing an mdichild #26

Closed codeling closed 5 years ago

codeling commented 6 years ago

When open_iA is compiled in debug mode, and one closes an mdi child window, the console shows several OpenGL error messages like this:

ERROR: In vtk\src-7.0.0\Rendering\OpenGL\vtkOpenGLTexture.cxx, line 94
vtkOpenGLTexture (000000000B1EB760): failed after ReleaseGraphicsResources 16 OpenGL errors detected
  0 : (1282) Invalid operation
  1 : (1282) Invalid operation
  2 : (1282) Invalid operation
  3 : (1282) Invalid operation
  4 : (1282) Invalid operation
  5 : (1282) Invalid operation
  6 : (1282) Invalid operation
  7 : (1282) Invalid operation
  8 : (1282) Invalid operation
  9 : (1282) Invalid operation
  10 : (1282) Invalid operation
  11 : (1282) Invalid operation
  12 : (1282) Invalid operation
  13 : (1282) Invalid operation
  14 : (1282) Invalid operation
  15 : (1282) Invalid operation

This bug started when the 3D magic lens was introduced to the general renderer window. A fix probably needs to involve migrating to the new QVTKOpenGLWidget instead of QVTKWidget2.

codeling commented 5 years ago

Fixed with the migration to QVTKOpenGLWidget (2018.12).