mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
修复播放mmd动画,找不到ammo.js的bug。
This commit is contained in:
parent
f3f32d654f
commit
5d1af08804
@ -13,7 +13,7 @@ MMDLoader.prototype.constructor = MMDLoader;
|
||||
|
||||
MMDLoader.prototype.load = function (url, options, environment) {
|
||||
return new Promise(resolve => {
|
||||
this.require('MMD').then(() => {
|
||||
this.require(['ammo', 'MMD']).then(() => {
|
||||
var loader = new THREE.MMDLoader();
|
||||
|
||||
var promise1 = options.Animation && options.Animation.Url ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user