瀏覽代碼

Object3D: Honor `animations` in `copy()`. (#25928)

Michael Herzog 2 年之前
父節點
當前提交
45304ac64b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/core/Object3D.js

+ 2 - 0
src/core/Object3D.js

@@ -945,6 +945,8 @@ class Object3D extends EventDispatcher {
 		this.frustumCulled = source.frustumCulled;
 		this.renderOrder = source.renderOrder;
 
+		this.animations = source.animations;
+
 		this.userData = JSON.parse( JSON.stringify( source.userData ) );
 
 		if ( recursive === true ) {