mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Make sure PImage.parent is set in loadImage()
This commit is contained in:
@@ -5333,6 +5333,7 @@ public class PApplet implements PConstants {
|
||||
// if (params != null) {
|
||||
// image.setParams(g, params);
|
||||
// }
|
||||
image.parent = this;
|
||||
return image;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user