Skip to content

Fix pop up layout with tone mapping crash

Thomas Galland requested to merge thomas.galland/vtk:fixPopUpWindowBug2 into master

Fix crash when popping out a layout with tone mapping enabled.

When popping out the layout, the render window releases its ressources, and the shader cache is deleted. Any used FXAA filter should also releases there internal ressources.

It wasn't done by the FXAA pass used by tone mapping, leaving the vtkOpenGLQuadHelper used by vtkOpenGLFXAAFilter in a dirty state, leading to a crash du to invalid pointer (this->Program).

Merge request reports