Commit 48b0d395 authored by Zack Galbreath's avatar Zack Galbreath Committed by Code Review
Browse files

Merge topic 'fix_heatmap_warning' into master

5e3ccfde resolve unused variable warning
parents 6d639781 5e3ccfde
......@@ -551,6 +551,13 @@ void vtkHeatmapItem::PaintBuffers(vtkContext2D *painter)
return;
}
if (!drawColumnLabels)
{
this->ComputeLabelWidth(painter);
this->ColumnLabelWidth = 0.0;
return;
}
// set up our text property to draw column labels appropriately for
// the current 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