Explorar el Código

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

Michael Herzog hace 2 años
padre
commit
45304ac64b
Se han modificado 1 ficheros con 2 adiciones y 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 ) {