mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 10:55:38 +01:00
call setLoaded() in PImage.loadPixels()
This commit is contained in:
@@ -477,7 +477,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
if (pixels == null || pixels.length != width*height) {
|
||||
pixels = new int[width*height];
|
||||
}
|
||||
isLoaded();
|
||||
setLoaded();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user