Steps to reproduce:
- Load 3D-Image
- Select Measurement Tool
- Select image for the Measurement Tool
- Draw figure into the image
Steps to reproduce:
The crash is reproducible for this configuration:
-> Crashes
The crash occurs in mitkVtkLayerController::UpdateLayers():l.309 and is caused by a corrrupted vtkRenderer.
[8169be]: Merge branch 'bug-11162-MeasurementBundleCrash'
2012-03-07 19:10:07 Sven Mersmann [a240fe]
The CornerAnnotation is not cleaned and therefore the m_MeasurementInfoRenderer remains in an invalid state. The text gets removed now and the renderer is cleaned correctly.
[cd3a93]: Merge branch 'bug-11162-MeasurementBundleCrash'
2012-03-07 19:22:13 Sven Mersmann [7a0d01]
COMP: corrected misspelling!
[6d4b8f]: Merge branch 'bug-11162-MeasurementBundleCrash'
2012-03-08 16:56:43 Sven Mersmann [5fba3f]
added NULL pointer query