Bug Fix: Only first frame of multiframe images is being rendered.

This commit is contained in:
Emanuel F. Oliveira committed 2017-01-29 22:11:18 -02:00
1 parent e2322ec05a
commit 75e027fee5
6 files changed
+29 -31

No files matched your search

@@ -21,9 +21,10 @@ function createAndAddStack(stackMap, study, displaySet) {
const imageIds = [];
let imageId;
displaySet.images.forEach((image, imageIndex) => {
displaySet.images.forEach((instance, imageIndex) => {
const image = instance.getData();
const metaData = {
instance: image,
instance: image, // in this context, instance will be the data of the InstanceMetadata object...
series: displaySet, // TODO: Check this
study: study,
numImages: numImages,
@@ -56,7 +57,7 @@ function createAndAddStack(stackMap, study, displaySet) {
stackMap[displaySet.displaySetInstanceUid] = stack;
return imageIds;
return stack;
}
configuration = {