瀏覽代碼

Change glb extension, it is registered as .glb in SceneLoader._registeredPlugins

Carlos Landeras Martínez 7 年之前
父節點
當前提交
300183f522
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Gamepad/Controllers/babylon.windowsMotionController.ts

+ 1 - 1
src/Gamepad/Controllers/babylon.windowsMotionController.ts

@@ -204,7 +204,7 @@ module BABYLON {
             let filename: string;
 
             // Checking if GLB loader is present
-            if (SceneLoader.IsPluginForExtensionAvailable("glb")) {
+            if (SceneLoader.IsPluginForExtensionAvailable(".glb")) {
                 // Determine the device specific folder based on the ID suffix
                 let device = 'default';
                 if (this.id && !forceDefault) {