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

Merge pull request #19789 from luisfonsivevo/patch-1

clone euler rotation order when cloning/copying object3d
Mr.doob 5 жил өмнө
parent
commit
d6fcf4af0c
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/core/Object3D.js

+ 1 - 0
src/core/Object3D.js

@@ -823,6 +823,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
 		this.up.copy( source.up );
 
 		this.position.copy( source.position );
+		this.rotation.order = source.rotation.order;
 		this.quaternion.copy( source.quaternion );
 		this.scale.copy( source.scale );