Przeglądaj źródła

Merge pull request #3467 from bghgary/sandbox-update

Change sandbox to play only the first glTF animation
David Catuhe 7 lat temu
rodzic
commit
93107b30aa
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      sandbox/index.js

+ 0 - 1
sandbox/index.js

@@ -38,7 +38,6 @@ if (BABYLON.Engine.isSupported()) {
         currentPluginName = plugin.name;
 
         if (plugin.name === "gltf" && plugin instanceof BABYLON.GLTFFileLoader) {
-            plugin.animationStartMode = BABYLON.GLTFLoaderAnimationStartMode.ALL;
             plugin.compileMaterials = true;
         }
     });