Explorar el Código

remove unnecessary `Skeleton.returnToRest()`

Nicholas Barlow hace 5 años
padre
commit
bcfaf865d6
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/Loading/Plugins/babylonFileLoader.ts

+ 0 - 1
src/Loading/Plugins/babylonFileLoader.ts

@@ -646,7 +646,6 @@ SceneLoader.RegisterPlugin({
         
                         skeleton._hasWaitingData = null;
                     }
-                    skeleton.returnToRest();
                 }
 
                 // freeze and compute world matrix application