OpenGL errors related to scalar bar when closing a render view in C/S
Tested and reproduced in 5.7, 5.8 and master.
Steps to reproduce:
- Run ParaView and connect to a pvserver
- Set Remote render threshold to 0 (to enable remote rendering)
- Create a wavelet
- Select Surface
- Select RTData
- Split the render view to create a new render view
- Enable wavelet visualization on this new render view
- Select Surface
- Select RTData
- Close the new render view
- Move the camera in the initial render view
A lot of errors are reported:
( 97.883s) [paraview ] vtkOutputWindow.cxx:76 ERR| ERROR: In ../VTK/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx, line 296 vtkOpenGLVertexArrayObject (0x5571f1bffc30): attempt to add attribute when not ready for attribute vertexMC
( 97.883s) [paraview ] vtkOutputWindow.cxx:76 ERR| ERROR: In ../VTK/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx, line 516 vtkOpenGLContextDevice2D (0x5571f1cd3b60): Error setting vertexMC in shader VAO.
( 97.883s) [paraview ] vtkOutputWindow.cxx:76 ERR| ERROR: In ../VTK/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx, line 296 vtkOpenGLVertexArrayObject (0x5571f1bffc30): attempt to add attribute when not ready for attribute tcoordMC
( 97.884s) [paraview ] vtkOutputWindow.cxx:76 ERR| ERROR: In ../VTK/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx, line 531 vtkOpenGLContextDevice2D (0x5571f1cd3b60): Error setting tcoordMC in shader VAO.
- Hide the scalar bar
No more error