소스 검색

Merge pull request #19789 from luisfonsivevo/patch-1

clone euler rotation order when cloning/copying object3d
Mr.doob 5 년 전
부모
커밋
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 );