Skip to content

Commit

Permalink
make it so if timerange it 0 it's 99999999 as 0 doesn't make sense
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Oct 20, 2014
1 parent 0a9c11c commit 0e484cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdl/particles.js
Expand Up @@ -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],
Expand Down

0 comments on commit 0e484cf

Please sign in to comment.