zz85 / sparks.js

a lightweight 3d particle engine in javascript, compatible with THREE.js and TWEEN.js
435 stars 47 forks source link

Minor fix for SPARKS.Engine.stop(); #21

Closed VynceMontgomery closed 11 years ago

VynceMontgomery commented 11 years ago

function previously referenced (non-existant) global _emitters rather than object propert this._emitters.

Prior to this fix, SPARKS.Engine.stop() errors out instead of stopping.  With this fix, stop() works as expected the first time.

zz85 commented 11 years ago

thanks @VynceMontgomery i'm currently out of town, but will merge this soon :)

zz85 commented 11 years ago

Thanks for the fix, sorry it took a while. :)