1
0
Эх сурвалжийг харах

Fix problem by checking for _target variable, test passes now

Johannes Deml 6 жил өмнө
parent
commit
cbdef855c8
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/core/Object3D.js

+ 1 - 1
src/core/Object3D.js

@@ -277,7 +277,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
 
 		// This method does not support objects having non-uniformly-scaled parent(s)
 
-		if ( _position === undefined ) {
+		if ( _target === undefined ) {
 
 			_q1 = new Quaternion();
 			_m1 = new Matrix4();

粤ICP备19079148号