Update: CC - Demo New - Key Up (194yv3pctj.js) 38 bytes modified
parent
174b815be8
commit
bc4a58f788
|
@ -52,7 +52,8 @@ if (data.code === 'KeyL') {
|
||||||
|
|
||||||
this.meshImageGrid.geometry.instance = this.instancedGeometry.instance;
|
this.meshImageGrid.geometry.instance = this.instancedGeometry.instance;
|
||||||
|
|
||||||
this.meshImageGrid.materials[0].instance.needsUpdate = true;
|
this.meshImageGrid.materials[0].createInstance();
|
||||||
|
this.meshImageGrid.updateInstance('materials');
|
||||||
|
|
||||||
console.log('got data');
|
console.log('got data');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue