forked from qt-creator/qt-creator
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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user