diff options
author | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-02-03 14:57:04 +0200 |
---|---|---|
committer | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-02-03 14:57:04 +0200 |
commit | 88bfda60b220dc7ad981e0c078646a7b6a41073e (patch) | |
tree | bfca7595f15d035c4ef0c3b0205af9ffb9b2da28 /src/effects/ThresholdMask.qml | |
parent | 434007d035a059ff29e040f625700aec5574d26c (diff) | |
download | qtgraphicaleffects-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.qml | 7 |
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 |