EffectMaker: Enable effect animation by default

Fixes: QDS-11609
Change-Id: I143a91cbc6c16f9e2a613e2cf56199820d40dd66
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2024-01-15 16:49:17 +02:00
parent ae28fb67b5
commit 7dd789fab4

View File

@@ -570,7 +570,7 @@ QString EffectMakerModel::getQmlEffectString()
if (m_shaderFeatures.enabled(ShaderFeatures::Time)
|| m_shaderFeatures.enabled(ShaderFeatures::Frame)) {
s += " // Enable this to animate iTime property\n";
s += " property bool timeRunning: false\n";
s += " property bool timeRunning: true\n";
}
if (m_shaderFeatures.enabled(ShaderFeatures::Time)) {
s += " // When timeRunning is false, this can be used to control iTime manually\n";