sunag %!s(int64=6) %!d(string=hai) anos
pai
achega
2e9a84ceec
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      examples/jsm/nodes/misc/TextureCubeNode.js

+ 10 - 0
examples/jsm/nodes/misc/TextureCubeNode.js

@@ -96,6 +96,16 @@ TextureCubeNode.prototype.generate = function ( builder, output ) {
 
 };
 
+TextureCubeNode.prototype.copy = function ( source ) {
+
+	TempNode.prototype.copy.call( this, source );
+
+	this.value = source.value;
+
+	return this;
+
+};
+
 TextureCubeNode.prototype.toJSON = function ( meta ) {
 
 	var data = this.getJSONNode( meta );