From b9f2cc4300bcf6cafa7d7afe31b8a32eeff682bf Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Thu, 11 Dec 2014 00:52:09 +0100 Subject: [PATCH] Force shadereffect source visibility to off. Bump qmltermwidget plugin version. --- app/qml/PreprocessedTerminal.qml | 6 ++++++ app/qml/ShaderTerminal.qml | 1 + app/qml/frames/utils/FrameShader.qml | 1 + app/qml/frames/utils/TerminalFrame.qml | 2 ++ qmltermwidget | 2 +- 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/qml/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml index dc6be26..2d29c17 100644 --- a/app/qml/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -222,6 +222,7 @@ Item{ sourceItem: kterminal hideSource: true wrapMode: ShaderEffectSource.ClampToEdge + visible: false } Loader{ id: blurredSourceLoader @@ -236,6 +237,8 @@ Item{ hideSource: true wrapMode: kterminalSource.wrapMode + visible: false + function restartBlurSource(){ livetimer.restart(); } @@ -332,6 +335,7 @@ Item{ sourceItem: bloomEffectLoader.item hideSource: true smooth: true + visible: false } } @@ -385,6 +389,7 @@ Item{ wrapMode: ShaderEffectSource.Repeat smooth: true hideSource: true + visible: false } // RASTERIZATION ////////////////////////////////////////////////////////// @@ -442,5 +447,6 @@ Item{ hideSource: true smooth: true wrapMode: ShaderEffectSource.ClampToEdge + visible: false } } diff --git a/app/qml/ShaderTerminal.qml b/app/qml/ShaderTerminal.qml index 4636edb..33f1a59 100644 --- a/app/qml/ShaderTerminal.qml +++ b/app/qml/ShaderTerminal.qml @@ -82,6 +82,7 @@ ShaderEffect { live: false hideSource: true wrapMode: ShaderEffectSource.Repeat + visible: false } //Print the number with a reasonable precision for the shader. diff --git a/app/qml/frames/utils/FrameShader.qml b/app/qml/frames/utils/FrameShader.qml index 041029f..81c7e80 100644 --- a/app/qml/frames/utils/FrameShader.qml +++ b/app/qml/frames/utils/FrameShader.qml @@ -37,6 +37,7 @@ ShaderEffect{ sourceItem: reflectionEffectLoader.item hideSource: true smooth: true + visible: false } } diff --git a/app/qml/frames/utils/TerminalFrame.qml b/app/qml/frames/utils/TerminalFrame.qml index 0232702..11f0d4e 100644 --- a/app/qml/frames/utils/TerminalFrame.qml +++ b/app/qml/frames/utils/TerminalFrame.qml @@ -56,12 +56,14 @@ Item{ sourceItem: frameimage hideSource: true textureSize: Qt.size(parent.width, parent.height) + visible: false } ShaderEffectSource{ id: framesourcenormals sourceItem: framenormals hideSource: true textureSize: Qt.size(parent.width, parent.height) + visible: false } Loader{ anchors.centerIn: parent diff --git a/qmltermwidget b/qmltermwidget index 02bb99b..61f6a51 160000 --- a/qmltermwidget +++ b/qmltermwidget @@ -1 +1 @@ -Subproject commit 02bb99b446a51052f7e950029cf331117ac78ab6 +Subproject commit 61f6a51f82db778e0bbd33cbf875234df3252b4b