Explorar el Código

nearest looks to pixely

Jake hace 10 años
padre
commit
4358f9e2ca
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      modules/renders.js

+ 0 - 4
modules/renders.js

@@ -85,10 +85,6 @@ exp.draw_model = function(uuid, img, scale, helm, body, callback) {
   var skin_canvas = new Canvas(width, height);
   var model_ctx = model_canvas.getContext('2d');
   var skin_ctx = skin_canvas.getContext('2d');
-  model_ctx.patternQuality = "nearest";
-  model_ctx.filter = "nearest";
-  skin_ctx.patternQuality = "nearest";
-  skin_ctx.filter = "nearest";
 
   image.onerror = function(err) {
     logging.error("render error: " + err);