Page MenuHomePhabricator

[mxn multi widget] Measurements / planar figure not working
Open, NormalPublic

Description

Using the measurement-plugin to draw planar figures is not possible: The planar figure is not drawn in the active / selected render window.
I guess this is related to T25595: [Multi widget] Make classes work with the new render window access, so that always the first "axial" render window is used (if found).

Event Timeline

kalali triaged this task as Normal priority.Oct 7 2022, 11:17 AM
kalali created this task.
kalali renamed this task from Measurements / planar figure not working with MxNMultiWidget to [mxn multi widet] Measurements / planar figure not working.Oct 17 2022, 4:36 PM
kalali renamed this task from [mxn multi widet] Measurements / planar figure not working to [mxn multi widget] Measurements / planar figure not working.Oct 17 2022, 4:43 PM

Since this is probably not going to be fixed until this release, I have added a safeguard in PlanarFigureMapper2D::MitkRender() that completely skips rendering of planar figures in all windows that don't belong to the StdMultiWidget, to avoid unexpected behavior and crashes.
When this task is tackled, that needs to be removed!

s434n removed s434n as the assignee of this task.Mar 20 2024, 1:50 PM