Setting the right framesPerSecond on Cine
This commit is contained in:
parent
7b93b6162d
commit
4f7348a09f
@ -87,6 +87,14 @@ function loadDisplaySetIntoViewport(data, templateData) {
|
|||||||
imageIds: imageIds
|
imageIds: imageIds
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 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
|
// Get the current image ID for the stack that will be rendered
|
||||||
imageId = imageIds[stack.currentImageIdIndex];
|
imageId = imageIds[stack.currentImageIdIndex];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user