Commit 3740d337 authored by Dave Partyka's avatar Dave Partyka
Browse files

ENH: tell charts to link against opengl.

parent 03406556
......@@ -12,7 +12,6 @@ ENDIF (JAVA_AWT_LIBRARY)
SET(KIT_INTERFACE_LIBRARIES vtkHybrid vtkViews)
SET(KIT_LIBS vtkIO vtkftgl
${VTK_FREETYPE_LIBRARIES}
${OPENGL_gl_LIBRARY}
)
SET(Kit_SRCS
......
......@@ -313,6 +313,7 @@ SET_DIRECTORY_PROPERTIES(PROPERTIES INCLUDE_DIRECTORIES "${include_dirs_tmp}")
TARGET_LINK_LIBRARIES(vtkQtChart
${QT_LIBRARIES}
${OPENGL_gl_LIBRARY}
)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT AND VTK_INSTALL_INCLUDE_DIR_CM24)
......
......@@ -21,7 +21,7 @@
#include <locale>
#include <vtksys/SystemTools.hxx>
vtkCxxRevisionMacro(vtkInteractorEventRecorder, "1.17");
vtkCxxRevisionMacro(vtkInteractorEventRecorder, "1.18");
vtkStandardNewMacro(vtkInteractorEventRecorder);
float vtkInteractorEventRecorder::StreamVersion = 1.0f;
......@@ -60,6 +60,7 @@ vtkInteractorEventRecorder::~vtkInteractorEventRecorder()
if ( this->InputStream )
{
this->InputStream->clear();
delete this->InputStream;
this->InputStream = NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment