comments out comp ops

This commit is contained in:
Francisco Dans 2015-02-24 12:11:37 +01:00
parent bc37a754a8
commit a36fd0936a

View File

@ -217,10 +217,10 @@ var ballRenderer = require('./ball.js');
var prof = Profiler.metric('torque.renderer.point.renderTile').start();
var ctx = this._ctx;
var blendMode = compop2canvas(shader.eval('comp-op')) || this.options.blendmode;
if (blendMode) {
ctx.globalCompositeOperation = blendMode;
}
// var blendMode = compop2canvas(shader.eval('comp-op')) || this.options.blendmode;
// if (blendMode) {
// ctx.globalCompositeOperation = blendMode;
// }
if (this.options.cumulative && key > tile.maxDate) {
//TODO: precache because this tile is not going to change
key = tile.maxDate;