Disable the AO gpuTimer pending cpp fix

This commit is contained in:
Zach Pomerantz 2016-02-08 12:34:45 -08:00
parent 86412c1890
commit 9c5881345a

View file

@ -16,15 +16,16 @@ Item {
height: 200
property QtObject config: Render.getConfig("AmbientOcclusion")
Timer {
interval: 500
running: true
repeat: true
onTriggered: { parent.timer.text = config.gpuTime.toFixed(2) }
}
// TODO: Enable the gpuTimer when it is fixed in cpp
// Timer {
// interval: 500
// running: true
// repeat: true
// onTriggered: { parent.timer.text = config.gpuTime.toFixed(2) }
// }
// Label { id: timer; x: 140 }
Label { text: qsTr("Ambient Occlusion") }
Label { id: timer; x: 140 }
CheckBox {
y: 1 * 25