Skip to content

Commit 00708b0

Browse files
authored
fix(seg): need to apply same fix to seg
1 parent 8524ebe commit 00708b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/vtkDisplay/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ <h2>Volume:</h2>
481481
}
482482

483483
function part10ToSEGVolumeActors(part10) {
484-
484+
part10 = Array.isArray(part10) ? part10[0] : part10;
485485
dataset = DICOMZero.datasetFromArrayBuffer(part10);
486486
if (dataset.SegmentSequence.constructor.name !== "Array") {
487487
dataset.SegmentSequence = [dataset.SegmentSequence];

0 commit comments

Comments
 (0)