Bug Fix: Only first frame of multiframe images is being rendered.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user