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.
1 parent 9f40129 commit 970d953Copy full SHA for 970d953
processing.js
@@ -15077,10 +15077,8 @@
15077
* @see background
15078
*/
15079
p.loadImage = function(file, type, callback) {
15080
- // if type is specified add it with a . to file to make the filename
15081
- if (type) {
15082
- file = file + "." + type;
15083
- }
+ // if type is specified, we just ignore it
+
15084
var pimg;
15085
// if image is in the preloader cache return a new PImage
15086
if (curSketch.imageCache.images[file]) {
0 commit comments