Explorar o código

Update loaders/src/glTF/2.0/glTFLoader.ts

Co-Authored-By: MackeyK24 <MackeyK24@gmail.com>
Gary Hsu %!s(int64=6) %!d(string=hai) anos
pai
achega
b8cbf15ac8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      loaders/src/glTF/2.0/glTFLoader.ts

+ 2 - 2
loaders/src/glTF/2.0/glTFLoader.ts

@@ -1149,7 +1149,7 @@ export class GLTFLoader implements IGLTFLoader {
         });
     }
 
-    private _loadAnimationChannelAsync(context: string, animationContext: string, animation: IAnimation, channel: IAnimationChannel, babylonAnimationGroup: AnimationGroup, animationTargetOverride: Nullable<IAnimatable> = null): Promise<void> {
+    public _loadAnimationChannelAsync(context: string, animationContext: string, animation: IAnimation, channel: IAnimationChannel, babylonAnimationGroup: AnimationGroup, animationTargetOverride: Nullable<IAnimatable> = null): Promise<void> {
         if (channel.target.node == undefined) {
             return Promise.resolve();
         }
@@ -2270,4 +2270,4 @@ export class GLTFLoader implements IGLTFLoader {
     }
 }
 
-GLTFFileLoader._CreateGLTF2Loader = (parent) => new GLTFLoader(parent);
+GLTFFileLoader._CreateGLTF2Loader = (parent) => new GLTFLoader(parent);