fix convolve5x5 to not call convolve3x3
This commit is contained in:
parent
5de8438968
commit
d1b9ab563f
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue