We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cacb45 + 970d953 commit 09ce6aeCopy full SHA for 09ce6ae
processing.js
@@ -15075,10 +15075,8 @@
15075
* @see background
15076
*/
15077
p.loadImage = function(file, type, callback) {
15078
- // if type is specified add it with a . to file to make the filename
15079
- if (type) {
15080
- file = file + "." + type;
15081
- }
+ // if type is specified, we just ignore it
+
15082
var pimg;
15083
// if image is in the preloader cache return a new PImage
15084
if (curSketch.imageCache.images[file]) {
0 commit comments