提交 26fdd097 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10223 from takahirox/MinorMMDLoaderUpdate

Minor MMDLoader Update
......@@ -2215,7 +2215,7 @@ THREE.MMDHelper.prototype = {
var physics = new THREE.MMDPhysics( mesh, params );
if ( mesh.mixer !== null && mesh.mixer !== undefined && params.preventAnimationWarmup !== false ) {
if ( mesh.mixer !== null && mesh.mixer !== undefined && params.preventAnimationWarmup !== true ) {
this.animateOneMesh( 0, mesh );
physics.reset();
......@@ -2557,7 +2557,7 @@ THREE.MMDHelper.prototype = {
}
if ( physics !== null && this.doPhysics && ! this.sharedPhysics) {
if ( physics !== null && this.doPhysics && ! this.sharedPhysics ) {
physics.update( delta );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册