From 3e1c2bdb48056a3357fab827efb254945a6adcf6 Mon Sep 17 00:00:00 2001 From: samcake Date: Tue, 5 Sep 2017 18:17:27 -0700 Subject: [PATCH] Adding the full code path, starting debugging the problems in hmd, --- .../developer/utilities/render/antialiasing.qml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/developer/utilities/render/antialiasing.qml b/scripts/developer/utilities/render/antialiasing.qml index 3f80cd3ddd..37f0a7d2d7 100644 --- a/scripts/developer/utilities/render/antialiasing.qml +++ b/scripts/developer/utilities/render/antialiasing.qml @@ -34,25 +34,26 @@ Rectangle { Row { spacing: 10 - - var debugFXAA = false + id: fxaaOnOff + property bool debugFXAA: false HifiControls.Button { text: { - if (debugFXAA) { + if (fxaaOnOff.debugFXAA) { return "FXAA" } else { return "TAA" } } onClicked: { - if (debugFXAA) { - Render.getConfig("RenderMainView.JitterCam").stop(); + fxaaOnOff.debugFXAA = !fxaaOnOff.debugFXAA + if (fxaaOnOff.debugFXAA) { + Render.getConfig("RenderMainView.JitterCam").none(); Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 0; } else { - Render.getConfig("RenderMainView.JitterCam").run(); + Render.getConfig("RenderMainView.JitterCam").play(); Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 1.0; } - debugFXAA = !debugFXAA + } } }