fix(io): assertion/crash when loading DICOM with only one frame with SightViewer
requested to merge 1152-fix-io-assertion-crash-when-loading-dicom-with-only-one-frame-with-sightviewer into dev
Description
This prevents an assertion failure while computing a dash line introduced in !988 (merged). This re-allows the displaying of 2D in a 3D scene
Closes #1152 (closed)
How to test it?
Load a single frame DICOM in SightViewer.