Removing duplicated logic in merged version of imageViewerViewport.js

This commit is contained in:
Emanuel F. Oliveira 2017-01-29 23:30:06 -02:00
parent 6d57ef1197
commit 1a24e05e26

View File

@ -89,14 +89,6 @@ const loadDisplaySetIntoViewport = (data, templateData) => {
displaySetInstanceUid: data.displaySetInstanceUid
};
// If is a clip, updates the global FPS for cine dialog
if (displaySet && displaySet.isClip && displaySet.frameRate > 0) {
// Sets the global variable
OHIF.viewer.cine.framesPerSecond = parseFloat(displaySet.frameRate);
// Update the cine dialog FPS
Session.set('UpdateCINE', Random.id());
}
// Get the current image ID for the stack that will be rendered
const imageId = imageIds[stack.currentImageIdIndex];