فهرست منبع

Merge pull request #3418 from CarlosLanderas/lande/fixWindowControllerInitMeshes

Change glb extension, it is registered as .glb in SceneLoader._regist…
Raanan Weber 7 سال پیش
والد
کامیت
3211492b07
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) {