Commit acbfa42e authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

BUG: Initialize Position and Image in vtkImageItem.

parent c14a5725
...@@ -28,6 +28,8 @@ vtkCxxSetObjectMacro(vtkImageItem, Image, vtkImageData); ...@@ -28,6 +28,8 @@ vtkCxxSetObjectMacro(vtkImageItem, Image, vtkImageData);
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
vtkImageItem::vtkImageItem() vtkImageItem::vtkImageItem()
{ {
this->Position[0] = this->Position[1] = 0;
this->Image = 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