Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Boris Basic
VTK
Commits
cb596fce
Commit
cb596fce
authored
Feb 08, 2016
by
Mathieu Westphal
Browse files
Marked image as dirty when set use cache to false
parent
e82d8e15
Changes
1
Hide whitespace changes
Inline
Side-by-side
GUISupport/Qt/QVTKWidget.cxx
View file @
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
);
this
->
markCachedImageAsDirty
();
}
}
}
}
bool
QVTKWidget
::
isAutomaticImageCacheEnabled
()
const
bool
QVTKWidget
::
isAutomaticImageCacheEnabled
()
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment