Merge pull request #2480 from alicevision/fix/resetIndexCameraInitWhenClosingNode

[Viewer2D] Only reset index of currentFrame if the currentFrame is after max of frameRange
This commit is contained in:
Candice Bentéjac 2024-07-26 11:32:12 +01:00 committed by GitHub
commit d7d259afa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -348,7 +348,8 @@ FocusScope {
} else {
root.source = ""
root.sequence = getSequence()
currentFrame = frameRange.min
if (currentFrame > frameRange.max)
currentFrame = frameRange.min
}
}