Browse Source

Fix HDR task loader

David Catuhe 6 năm trước cách đây
mục cha
commit
fd79586705
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Misc/assetsManager.ts

+ 1 - 1
src/Misc/assetsManager.ts

@@ -672,7 +672,7 @@ export class HDRCubeTextureAssetTask extends AbstractAssetTask implements ITextu
      * @param onSuccess is a callback called when the task is successfully executed
      * @param onError is a callback called if an error occurs
      */
-    public run(scene: Scene, onSuccess: () => void, onError: (message?: string, exception?: any) => void) {
+    public runTask(scene: Scene, onSuccess: () => void, onError: (message?: string, exception?: any) => void) {
 
         var onload = () => {
             onSuccess();