summaryrefslogtreecommitdiff
path: root/src/effects/ThresholdMask.qml
diff options
context:
space:
mode:
authorMarko Niemelä <marko.a.niemela@nokia.com>2012-02-03 14:57:04 +0200
committerMarko Niemelä <marko.a.niemela@nokia.com>2012-02-03 14:57:04 +0200
commit88bfda60b220dc7ad981e0c078646a7b6a41073e (patch)
treebfca7595f15d035c4ef0c3b0205af9ffb9b2da28 /src/effects/ThresholdMask.qml
parent434007d035a059ff29e040f625700aec5574d26c (diff)
downloadqtgraphicaleffects-88bfda60b220dc7ad981e0c078646a7b6a41073e.tar.gz
Fixed ThresholdMask which did not use SourceProxy for maskSource property
Diffstat (limited to 'src/effects/ThresholdMask.qml')
-rw-r--r--src/effects/ThresholdMask.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/effects/ThresholdMask.qml b/src/effects/ThresholdMask.qml
index bfd116e..d6a3334 100644
--- a/src/effects/ThresholdMask.qml
+++ b/src/effects/ThresholdMask.qml
@@ -54,6 +54,11 @@ Item {
input: rootItem.source
}
+ SourceProxy {
+ id: maskSourceProxy
+ input: rootItem.maskSource
+ }
+
ShaderEffectSource {
id: cacheItem
anchors.fill: parent
@@ -67,7 +72,7 @@ Item {
ShaderEffect {
id: shaderItem
property variant source: sourceProxy.output
- property variant maskSource: rootItem.maskSource
+ property variant maskSource: maskSourceProxy.output
property real threshold: rootItem.threshold
property real spread: rootItem.spread