summaryrefslogtreecommitdiffstats
path: root/src/effects/shadereffectitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/shadereffectitem.cpp')
-rw-r--r--src/effects/shadereffectitem.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/effects/shadereffectitem.cpp b/src/effects/shadereffectitem.cpp
index e19602e..de5bd83 100644
--- a/src/effects/shadereffectitem.cpp
+++ b/src/effects/shadereffectitem.cpp
@@ -501,6 +501,12 @@ void ShaderEffectSource::update()
m_dirtyTexture = false;
}
+void ShaderEffectSource::grab()
+{
+ m_dirtyTexture = true;
+ emit repaintRequired();
+}
+
void ShaderEffectSource::markSceneGraphDirty()
{
m_dirtySceneGraph = true;