|
@@ -25850,6 +25850,7 @@ var BABYLON;
|
|
|
Scene.prototype.beginDirectHierarchyAnimation = function (target, directDescendantsOnly, animations, from, to, loop, speedRatio, onAnimationEnd) {
|
|
|
var children = target.getDescendants(directDescendantsOnly);
|
|
|
var result = [];
|
|
|
+ result.push(this.beginDirectAnimation(target, animations, from, to, loop, speedRatio, onAnimationEnd));
|
|
|
for (var _i = 0, children_1 = children; _i < children_1.length; _i++) {
|
|
|
var child = children_1[_i];
|
|
|
result.push(this.beginDirectAnimation(child, animations, from, to, loop, speedRatio, onAnimationEnd));
|