Commit d10adb0f authored by Karthik Krishnan's avatar Karthik Krishnan
Browse files

BUG: Printself defect

parent 4a187f92
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "vtkRenderer.h" #include "vtkRenderer.h"
#include "vtkProperty2D.h" #include "vtkProperty2D.h"
vtkCxxRevisionMacro(vtkScalarBarActor, "1.58"); vtkCxxRevisionMacro(vtkScalarBarActor, "1.59");
vtkStandardNewMacro(vtkScalarBarActor); vtkStandardNewMacro(vtkScalarBarActor);
vtkCxxSetObjectMacro(vtkScalarBarActor,LookupTable,vtkScalarsToColors); vtkCxxSetObjectMacro(vtkScalarBarActor,LookupTable,vtkScalarsToColors);
...@@ -606,6 +606,8 @@ void vtkScalarBarActor::PrintSelf(ostream& os, vtkIndent indent) ...@@ -606,6 +606,8 @@ void vtkScalarBarActor::PrintSelf(ostream& os, vtkIndent indent)
if (this->UseOpacity) if (this->UseOpacity)
{ {
os << indent << "TextureGridWidth: " << this->TextureGridWidth << "\n"; os << indent << "TextureGridWidth: " << this->TextureGridWidth << "\n";
os << indent << "TextureActor:\n";
this->TextureActor->PrintSelf(os, indent.GetNextIndent());
} }
} }
......
Supports Markdown
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