Fix parentOpacity mistake (#2888)

This commit is contained in:
pandamicro
2018-06-22 14:37:10 +08:00
committed by GitHub
parent 5b0b7953ce
commit b0aec71174
@@ -117,7 +117,7 @@ RenderComponentWalker.prototype = {
this.material = empty_material;
this.cullingMask = 1;
this.parentOpacity = 1 / 255;
this.parentOpacity = 1;
this.parentOpacityDirty = 0;
this.worldMatDirty = 0;