Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrokohler committed Mar 7, 2025
1 parent cfd78e0 commit 5352864
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function performStackLabelmapUpdate({ viewportIds, segmentationId }) {
segmentationId
);

const segmentationImage = cache.getImage(currentSegmentationImageId);
const segmentationImage = cache.getImage(currentSegmentationImageId[0]);
segImageData.modified();

// update the cache with the new image data
Expand Down

0 comments on commit 5352864

Please sign in to comment.