Explorar o código

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

Michael Herzog %!s(int64=2) %!d(string=hai) anos
pai
achega
45304ac64b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 ) {