Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 18 bytes modified

beta.r3js.org
-=yb4f310 2018-02-16 11:24:19 +01:00
parent 393e5bdc62
commit 3098a523b1
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ this.ccKeyUp.entityLoaded = this;
*/
GameLib.CustomCode.prototype.generateAttributeData = function(index, width, height) {
var heightData = this.images[this.currentImageIndex].getHeightData();
var heightData = this.images[index].getHeightData();
var offsets = [];
var scales = [];
@ -129,4 +129,4 @@ GameLib.CustomCode.prototype.buildInstancedGeometry = function(index) {
this.buildInstancedGeometry(0);
//@ sourceURL=entiyuLoaded.js
//@ sourceURL=entiyLoaded.js