mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0032331: Visualization - Exception when trying to display some surfaces using iVtk with VTK 9
Updated memory allocation for vtkPolyData to use more suited method for VTK versions after 9.0
This commit is contained in:
@@ -20,6 +20,13 @@
|
||||
#include <vtkWin32OpenGLRenderWindow.h>
|
||||
#else
|
||||
#include <GL/glx.h>
|
||||
|
||||
// Preventing naming collisions between
|
||||
// GLX and VTK versions 9.0 and above
|
||||
#ifdef AllValues
|
||||
#undef AllValues
|
||||
#endif
|
||||
|
||||
#include <vtkXRenderWindowInteractor.h>
|
||||
#include <vtkXOpenGLRenderWindow.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user