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

Merge topic 'QVTKWidgetCacheFix'


 Marked image as dirty when set use cache to false

Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <>
Merge-request: !1193
parents e82d8e15 cb596fce
...@@ -309,6 +309,7 @@ void QVTKWidget::setAutomaticImageCacheEnabled(bool flag) ...@@ -309,6 +309,7 @@ void QVTKWidget::setAutomaticImageCacheEnabled(bool flag)
this->mCachedImage->Initialize(); this->mCachedImage->Initialize();
this->mCachedImage->SetOrigin(0,0,0); this->mCachedImage->SetOrigin(0,0,0);
this->mCachedImage->SetSpacing(1,1,1); this->mCachedImage->SetSpacing(1,1,1);
} }
} }
bool QVTKWidget::isAutomaticImageCacheEnabled() const bool QVTKWidget::isAutomaticImageCacheEnabled() const
Supports Markdown
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