Update: CC - Entity Loaded - Moorcow (v6a7eh2o29.js) 90 bytes modified

beta.r3js.org
-=yb4f310 2017-11-26 21:30:39 +01:00
parent ddacfb8572
commit 4d1a86660c
1 changed files with 5 additions and 0 deletions

View File

@ -115,6 +115,11 @@ this.createMesh = function(meshType, type) {
var mesh = this[type].clone();
var material = this[type].materials[0].clone();
mesh.materials = [material];
if (typeof this.meshes[meshType] === 'undefined') {
this.meshes[meshType] = [];
}
this.meshes[meshType].push(
{
inUse : false,