فهرست منبع

Merge pull request #3467 from bghgary/sandbox-update

Change sandbox to play only the first glTF animation
David Catuhe 7 سال پیش
والد
کامیت
93107b30aa
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      sandbox/index.js

+ 0 - 1
sandbox/index.js

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