(OgreVolumeRendering): fix the ambient occlusion
What does this MR do?
- Fix a crash in
SummedAreaTable
due to bad storage (Whenm sat Size[0]
is 256, the oldstd:uint8_t
stores 0). - Fix a crash when the software is closed.
How to test it?
- Launch
OgreViewer
. - File -> Open image... -> VTK Image reader (VTK).
- Choose any image.
- Click on
Show/Hide vr editor
. - Enable
Ambient occlusion
. - Change the
SAT size ratio