浏览代码

Fix HDR task loader

David Catuhe 6 年之前
父节点
当前提交
fd79586705
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();