Update babylon.scene.ts
@@ -692,10 +692,7 @@
var delay = now - this._animationStartDate;
for (var index = 0; index < this._activeAnimatables.length; index++) {
- if (!this._activeAnimatables[index]._animate(delay)) {
- this._activeAnimatables.splice(index, 1);
- index--;
- }
+ this._activeAnimatables[index]._animate(delay);
}
@@ -2094,4 +2091,4 @@
return this._getByTags(this.materials, tagsQuery, forEach).concat(this._getByTags(this.multiMaterials, tagsQuery, forEach));
-}
+}