fix convolve5x5 to not call convolve3x3

This commit is contained in:
Jacob Seidelin 2014-09-04 11:17:28 +02:00
parent 5de8438968
commit d1b9ab563f
2 changed files with 3 additions and 3 deletions

View file

@ -618,7 +618,7 @@ Pixastic.Effects = (function() {
}, },
convolve5x5 : function(inData, outData, width, height, options, progress) { convolve5x5 : function(inData, outData, width, height, options, progress) {
convolve3x3(inData, outData, width, height, options.kernel, progress); convolve5x5(inData, outData, width, height, options.kernel, progress);
}, },
// A 3x3 high-pass filter // A 3x3 high-pass filter

View file

@ -34,9 +34,9 @@
worker = new window.Worker("pixastic.worker.control.js"); worker = new window.Worker("pixastic.worker.control.js");
} catch(e) { } catch(e) {
if (location.protocol == "file:") { if (location.protocol == "file:") {
Pixastic.log("Could not create real worker, running from file://") Pixastic.log("Could not create native worker, running from file://")
} else { } else {
Pixastic.log("Could not create real worker.") Pixastic.log("Could not create native worker.")
} }
} }
} }