Browse Source

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

Carlos Landeras Martínez 7 years ago
parent
commit
300183f522
1 changed files with 1 additions and 1 deletions
  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) {