Update: CC - Demo New - Key Up (194yv3pctj.js) 38 bytes modified

beta.r3js.org
-=yb4f310 2018-02-12 13:08:24 +01:00
parent 174b815be8
commit bc4a58f788
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ if (data.code === 'KeyL') {
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');
}