László Matuska 8 years ago
parent
commit
bb4c81b8c5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/Loading/babylon.sceneLoader.ts

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

@@ -289,9 +289,7 @@
                     if (!syncedPlugin.importMesh(meshNames, scene, data, rootUrl, meshes, particleSystems, skeletons, errorHandler)) {
                     if (!syncedPlugin.importMesh(meshNames, scene, data, rootUrl, meshes, particleSystems, skeletons, errorHandler)) {
                         return;
                         return;
                     }
                     }
-                    
                     SceneLoader._CleanMatricesIndices(meshes);
                     SceneLoader._CleanMatricesIndices(meshes);
-                    
                     if (onSuccess) {
                     if (onSuccess) {
                         // wrap onSuccess with try-catch to know if something went wrong.
                         // wrap onSuccess with try-catch to know if something went wrong.
                         try {
                         try {
@@ -307,9 +305,7 @@
                 else {
                 else {
                     var asyncedPlugin = <ISceneLoaderPluginAsync>plugin;
                     var asyncedPlugin = <ISceneLoaderPluginAsync>plugin;
                     asyncedPlugin.importMeshAsync(meshNames, scene, data, rootUrl, (meshes, particleSystems, skeletons) => {
                     asyncedPlugin.importMeshAsync(meshNames, scene, data, rootUrl, (meshes, particleSystems, skeletons) => {
-
                         SceneLoader._CleanMatricesIndices(meshes);
                         SceneLoader._CleanMatricesIndices(meshes);
-
                         if (onSuccess) {
                         if (onSuccess) {
                             try {
                             try {
                                 scene.importedMeshesFiles.push(rootUrl + sceneFilename);
                                 scene.importedMeshesFiles.push(rootUrl + sceneFilename);