Fixing rebase issue: restoring getImagePlane behaviour...
This commit is contained in:
parent
75e027fee5
commit
2ed38cf6e7
@ -135,8 +135,7 @@ const updateMetaData = image => {
|
||||
* @param metadataInstance The metadata instance (InstanceMetadata class) containing information to construct imagePlane
|
||||
* @returns imagePlane The constructed imagePlane to be used in viewer easily
|
||||
*/
|
||||
function getImagePlane(metadataInstance) {
|
||||
const instance = metadataInstance.getData();
|
||||
function getImagePlane(instance) {
|
||||
if (!instance.rows || !instance.columns || !instance.pixelSpacing ||
|
||||
!instance.frameOfReferenceUID || !instance.imageOrientationPatient ||
|
||||
!instance.imagePositionPatient) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user