Skip to content
Snippets Groups Projects
Commit 2606ebe9 authored by David C. Lonie's avatar David C. Lonie
Browse files

Mark ticks as dirty when enabling/disabling log scale.

parent 31af3dd1
No related branches found
No related tags found
No related merge requests found
......@@ -884,6 +884,7 @@ void vtkAxis::UpdateLogScaleActive(bool alwaysUpdateMinMaxFromUnscaled)
if (!this->LogScaleActive)
{
this->LogScaleActive = true;
this->TickMarksDirty = true;
needUpdate = true;
}
if (needUpdate || alwaysUpdateMinMaxFromUnscaled)
......@@ -934,6 +935,7 @@ void vtkAxis::UpdateLogScaleActive(bool alwaysUpdateMinMaxFromUnscaled)
if (this->LogScaleActive)
{
this->LogScaleActive = false;
this->TickMarksDirty = true;
needUpdate = true;
}
if (needUpdate || alwaysUpdateMinMaxFromUnscaled)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment