Flag swap

This commit is contained in:
Richard Davey 2019-06-24 14:42:34 +01:00
parent 45bfaeacfb
commit 63ac456c45

View file

@ -374,7 +374,7 @@ var Shader = new Class({
*/
willRender: function (camera)
{
return !(!this.renderToTexture || GameObject.RENDER_MASK !== this.renderFlags || (this.cameraFilter !== 0 && (this.cameraFilter & camera.id)));
return !(this.renderToTexture || GameObject.RENDER_MASK !== this.renderFlags || (this.cameraFilter !== 0 && (this.cameraFilter & camera.id)));
},
/**