Commit cb596fce authored by Mathieu Westphal's avatar Mathieu Westphal
Browse files

Marked image as dirty when set use cache to false

parent e82d8e15
Pipeline #6474 passed with stage
......@@ -309,6 +309,7 @@ void QVTKWidget::setAutomaticImageCacheEnabled(bool flag)
this->mCachedImage->Initialize();
this->mCachedImage->SetOrigin(0,0,0);
this->mCachedImage->SetSpacing(1,1,1);
this->markCachedImageAsDirty();
}
}
bool QVTKWidget::isAutomaticImageCacheEnabled() const
......
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