Fix bugs which prevents loading multi-frame instances with custom image loaders

- Construct image id based on frame (if defined) for custom image loaders as well
- Use DICOMFileLoadingListener for multi-frame images and image loaders except wado
This commit is contained in:
Evren Ozkan committed 2017-05-23 16:20:23 -04:00
1 parent c5c5ddf282
commit 7519006e64
2 files changed
+18 -2

No files matched your search

@@ -373,7 +373,7 @@ class StudyLoadingListener {
// how many frames has already been loaded (bytes/s instead of frames/s).
if ((schema === 'wadors') || !stackMetaData.isMultiFrame) {
return new StackLoadingListener(stack);
} else if ((schema === 'dicomweb') || (schema === 'wadouri')) {
} else {
return new DICOMFileLoadingListener(stack);
}
}