From 0e484cfe2f394dcd764509b24fc95c6a5154c24c Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sun, 19 Oct 2014 17:16:51 -0700 Subject: [PATCH] make it so if timerange it 0 it's 99999999 as 0 doesn't make sense --- tdl/particles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdl/particles.js b/tdl/particles.js index b05ad48..7320335 100644 --- a/tdl/particles.js +++ b/tdl/particles.js @@ -905,7 +905,7 @@ tdl.particles.ParticleEmitter.prototype.createParticles_ = function( // Set the globals. this.billboard_ = parameters.billboard; - this.timeRange_ = parameters.timeRange; + this.timeRange_ = parameters.timeRange || 99999999; this.numFrames_ = parameters.numFrames; this.frameDuration_ = parameters.frameDuration; this.worldVelocity_ = [ parameters.worldVelocity[0],