Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
924c4449
Commit
924c4449
authored
Sep 25, 2013
by
Christian Schulte zu Berge
Browse files
fixed endless loop in VolumeExplorer
parent
ec04c28e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/scr_msk/pipelines/uscompounding.cpp
View file @
924c4449
...
...
@@ -37,7 +37,7 @@ namespace campvis {
:
VisualizationPipeline
()
,
p_camera
(
"Camera"
,
"Camera"
)
,
_reader
()
,
_renderer
(
_canvasSize
)
,
_renderer
(
&
_canvasSize
)
,
_trackballEH
(
0
)
{
addProcessor
(
&
_reader
);
...
...
modules/vis/processors/volumeexplorer.cpp
View file @
924c4449
...
...
@@ -240,14 +240,18 @@ namespace campvis {
}
void
VolumeExplorer
::
onProcessorInvalidated
(
AbstractProcessor
*
processor
)
{
if
(
processor
==
&
_raycaster
)
{
invalidate
(
VR_INVALID
);
}
if
(
processor
==
&
_sliceExtractor
)
{
invalidate
(
SLICES_INVALID
);
}
// make sure to only invalidate ourself if the invalidation is not triggered by us
// => the _locked state is a trustworthy source for this information :)
if
(
!
isLocked
())
{
if
(
processor
==
&
_raycaster
)
{
invalidate
(
VR_INVALID
);
}
if
(
processor
==
&
_sliceExtractor
)
{
invalidate
(
SLICES_INVALID
);
}
invalidate
(
AbstractProcessor
::
INVALID_RESULT
);
invalidate
(
AbstractProcessor
::
INVALID_RESULT
);
}
}
void
VolumeExplorer
::
updateProperties
(
DataHandle
img
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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