浏览代码

Fix parameter order for animationGroup

David Catuhe 7 年之前
父节点
当前提交
b0dcbad3c3

文件差异内容过多而无法显示
+ 4451 - 4451
Playground/babylon.d.txt


文件差异内容过多而无法显示
+ 5372 - 5372
dist/preview release/babylon.d.ts


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.js


+ 5 - 5
dist/preview release/babylon.max.js

@@ -41935,12 +41935,12 @@ var BABYLON;
             configurable: true
         });
         /**
-         * Add an animation with its target in the group
-         * @param target defines the target of the animation
+         * Add an animation (with its target) in the group
          * @param animation defines the animation we want to add
+         * @param target defines the target of the animation
          * @returns the {BABYLON.TargetedAnimation} object
          */
-        AnimationGroup.prototype.addTargetedAnimation = function (target, animation) {
+        AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
             var targetedAnimation = {
                 animation: animation,
                 target: target
@@ -41958,8 +41958,8 @@ var BABYLON;
         /**
          * This function will normalize every animation in the group to make sure they all go from beginFrame to endFrame
          * It can add constant keys at begin or end
-         * @param beginFrame defines the new begin frame for all animations. It can't be bigger than this._from
-         * @param endFrame defines the new end frame for all animations. It can't be smaller than this._to
+         * @param beginFrame defines the new begin frame for all animations. It can't be bigger than the smaller begin frame of all animations
+         * @param endFrame defines the new end frame for all animations. It can't be smaller than the larger end frame of all animations
          */
         AnimationGroup.prototype.normalize = function (beginFrame, endFrame) {
             beginFrame = Math.min(beginFrame, this._from);

文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.worker.js


文件差异内容过多而无法显示
+ 80458 - 79902
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/viewer/babylon.viewer.js