Commit 62d41108 authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Restored utilization of NeedBuild2D ivar for speed

Change-Id: I238fbda324afcef04372c8a495ef1df3f6229485
parent e42d9ced
......@@ -812,6 +812,7 @@ vtkAxisActor::SetLabelPositions2D(vtkViewport *viewport, bool force)
// **********************************************************************
void vtkAxisActor::BuildTitle(bool force)
{
this->NeedBuild2D = false;
if (!force && !this->TitleVisibility)
{
return;
......@@ -833,6 +834,7 @@ void vtkAxisActor::BuildTitle(bool force)
return;
}
this->NeedBuild2D = true;
switch (this->AxisType)
{
case VTK_AXIS_TYPE_X :
......
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