Browse Source

add comment

Trevor Baron 7 years ago
parent
commit
53ae4e98b3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Loading/babylon.sceneLoader.ts

+ 1 - 0
src/Loading/babylon.sceneLoader.ts

@@ -671,6 +671,7 @@
                 return null;
                 return null;
             }
             }
 
 
+            // If entire file url is in rootUrl set this as the filename so it can be loaded successfully.
             if(sceneFilename==""){
             if(sceneFilename==""){
                 sceneFilename = rootUrl;
                 sceneFilename = rootUrl;
                 rootUrl = "";
                 rootUrl = "";