Fix a couple of issues with burnIn.

This commit is contained in:
Filippo Scognamiglio
2018-11-21 18:18:18 +01:00
parent cc7c13e17f
commit 82f2bd6231
2 changed files with 8 additions and 4 deletions

View File

@@ -25,9 +25,9 @@ Loader {
}
function restartBlurSource(){
prevLastUpdate = 0;
lastUpdate = 0;
completelyUpdate()
prevLastUpdate = timeManager.time;
lastUpdate = prevLastUpdate;
completelyUpdate();
}
sourceComponent: Item {
@@ -56,6 +56,10 @@ Loader {
format: ShaderEffectSource.RGBA
// Enabling smooth with a low burnInQuality causes bad artifacts because the FBO
// has different values when it's read back. This lowers the quality, but makes it more consistent.
smooth: appSettings.burnInQuality === 1.0
visible: false
Connections {