Commit eac09abf authored by Mathieu Westphal's avatar Mathieu Westphal Committed by Kitware Robot
Browse files

Merge topic 'QVTKWidgetCacheFix'

cb596fce

 Marked image as dirty when set use cache to false
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !1193
parents e82d8e15 cb596fce
Pipeline #6500 canceled 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