Skip to content

Commit

Permalink
fix(seg): need to apply same fix to seg
Browse files Browse the repository at this point in the history
  • Loading branch information
pieper authored May 6, 2024
1 parent 8524ebe commit 00708b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vtkDisplay/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ <h2>Volume:</h2>
}

function part10ToSEGVolumeActors(part10) {

part10 = Array.isArray(part10) ? part10[0] : part10;
dataset = DICOMZero.datasetFromArrayBuffer(part10);
if (dataset.SegmentSequence.constructor.name !== "Array") {
dataset.SegmentSequence = [dataset.SegmentSequence];
Expand Down

0 comments on commit 00708b0

Please sign in to comment.