Commit 5e3ccfde authored by Zack Galbreath's avatar Zack Galbreath
Browse files

resolve unused variable warning

Change-Id: Iddce83001a39f53c423971f52e6dea07e09b8beb
parent 6d639781
...@@ -551,6 +551,13 @@ void vtkHeatmapItem::PaintBuffers(vtkContext2D *painter) ...@@ -551,6 +551,13 @@ void vtkHeatmapItem::PaintBuffers(vtkContext2D *painter)
return; return;
} }
if (!drawColumnLabels)
{
this->ComputeLabelWidth(painter);
this->ColumnLabelWidth = 0.0;
return;
}
// set up our text property to draw column labels appropriately for // set up our text property to draw column labels appropriately for
// the current orientation. // the current orientation.
switch (orientation) switch (orientation)
......
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