Browse Source

Merge pull request #19789 from luisfonsivevo/patch-1

clone euler rotation order when cloning/copying object3d
Mr.doob 5 years ago
parent
commit
d6fcf4af0c
1 changed files with 1 additions and 0 deletions
  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 );