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

@@ -7,12 +7,7 @@ import { getWADORSImageId } from './getWADORSImageId';
* @param instance
* @returns {string} The imageId to be used by Cornerstone
*/
export function getImageId(instanceMetadata, frame) {
if (!instanceMetadata) {
return;
}
const instance = instanceMetadata.getData();
export function getImageId(instance, frame) {
if (!instance) {
return;