Skip to content
Snippets Groups Projects
Commit eac09abf authored by Mathieu Westphal (Kitware)'s avatar Mathieu Westphal (Kitware) :zap: Committed by Kitware Robot
Browse files

Merge topic 'QVTKWidgetCacheFix'


cb596fce Marked image as dirty when set use cache to false

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !1193
parents e82d8e15 cb596fce
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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