Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 13 bytes modified

beta.r3js.org
-=yb4f310 2017-11-14 13:01:30 +01:00
parent 47948e1a9c
commit ef793fef71
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ if (this.mouseIsDown) {
mesh.name.indexOf('Stone') === -1 //stones
) {
if (mesh.materials[0].name.indexOf('Trees') === -1) {
if (mesh.name.indexOf('Trees') === -1) {
mesh.instance.material.color.sub(this.toBlack);
if (mesh.instance.material.color.r <= 0) {
if (mesh.instance.material.emissive) {