Pan Xinmiao пре 7 година
родитељ
комит
15c524134d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/js/animation/MMDPhysics.js

+ 1 - 1
examples/js/animation/MMDPhysics.js

@@ -116,7 +116,7 @@ THREE.MMDPhysics = ( function () {
 
 			if ( isNonDefaultScale ) {
 
-				if ( parent !== null ) parent.parent = parent;
+				if ( parent !== null ) mesh.parent = parent;
 
 				mesh.scale.copy( scale );