Skip to content

Commit

Permalink
Merge branch 'master' into 83_svg_with_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymovin committed Nov 8, 2021
2 parents 38ba30e + 9a8137f commit d33c526
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions player/js/utils/expressions/ExpressionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,9 +656,6 @@ var ExpressionManager = (function () {
function executeExpression(_value) {
// globalData.pushExpression();
value = _value;
if (_needsRandom) {
seedRandom(randSeed);
}
if (this.frameExpressionId === elem.globalData.frameId && this.propType !== 'textSelector') {
return value;
}
Expand Down Expand Up @@ -700,6 +697,9 @@ var ExpressionManager = (function () {
parent = elem.hierarchy[0].layerInterface;
}
time = this.comp.renderedFrame / this.comp.globalData.frameRate;
if (_needsRandom) {
seedRandom(randSeed + time);
}
if (needsVelocity) {
velocity = velocityAtTime(time);
}
Expand Down

0 comments on commit d33c526

Please sign in to comment.