Commit a81805b6 authored by Mathieu Malaterre's avatar Mathieu Malaterre

FIX: Default value is not always NULL

parent fa026989
......@@ -23,7 +23,7 @@
#include "vtkTimerLog.h"
#include "vtkUnsignedCharArray.h"
vtkCxxRevisionMacro(vtkCompositeRenderManager, "1.6");
vtkCxxRevisionMacro(vtkCompositeRenderManager, "1.7");
vtkStandardNewMacro(vtkCompositeRenderManager);
vtkCxxSetObjectMacro(vtkCompositeRenderManager, Compositer, vtkCompositer);
......@@ -31,7 +31,8 @@ vtkCxxSetObjectMacro(vtkCompositeRenderManager, Compositer, vtkCompositer);
//----------------------------------------------------------------------------
vtkCompositeRenderManager::vtkCompositeRenderManager()
{
this->SetCompositer( vtkCompressCompositer::New() );
this->Compositer = vtkCompressCompositer::New();
this->Compositer->Register( this );
this->Compositer->Delete();
this->DepthData = vtkFloatArray::New();
......
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