We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4332dc commit 86e82cbCopy full SHA for 86e82cb
1 file changed
src/objects/InstancedMesh.js
@@ -33,6 +33,9 @@ InstancedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
33
Mesh.prototype.copy.call( this, source );
34
35
this.instanceMatrix.copy( source.instanceMatrix );
36
+
37
+ if ( source.instanceColor !== null ) this.instanceColor = source.instanceColor.clone();
38
39
this.count = source.count;
40
41
return this;
0 commit comments