From 031521534da503d7a4f32d97568e8ad567e73092 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Wed, 20 Jun 2012 18:13:37 +0200 Subject: [PATCH] Attempt to fix the blend image actor for the new vtk release (5.10) --- vv/vvBlendImageActor.cxx | 2 +- vv/vvBlendImageActor.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vv/vvBlendImageActor.cxx b/vv/vvBlendImageActor.cxx index 0e65d1c..466083a 100644 --- a/vv/vvBlendImageActor.cxx +++ b/vv/vvBlendImageActor.cxx @@ -47,7 +47,7 @@ void vvBlendImageActor::Render(vtkRenderer *ren) } //Call normal render - vtkOpenGLImageActor::Render(ren); + vtkImageActor::Render(ren); //Move back blending to weighted sum if (vtkgl::BlendEquationEXT!=0) { diff --git a/vv/vvBlendImageActor.h b/vv/vvBlendImageActor.h index 5bd2858..0abe616 100644 --- a/vv/vvBlendImageActor.h +++ b/vv/vvBlendImageActor.h @@ -21,13 +21,13 @@ #include #include -#include +#include -class vvBlendImageActor : public vtkOpenGLImageActor +class vvBlendImageActor : public vtkImageActor { public: static vvBlendImageActor *New(); - vtkTypeMacro(vvBlendImageActor, vtkOpenGLImageActor); + vtkTypeMacro(vvBlendImageActor, vtkImageActor); virtual void PrintSelf(ostream& os, vtkIndent indent); // Description: -- 2.47.1