fixed a bug where the source image would fall back to cat instead of the last image loaded after disabling webcam mode
This commit is contained in:
@@ -38,7 +38,7 @@ class SourceManager { //no constructor
|
||||
void setImage(PImage img) { //set image to source
|
||||
imageChanged = true;
|
||||
source = img.get();
|
||||
//fallbackImage = source;
|
||||
if(!webcamMode)fallbackImage = source;
|
||||
nativeResoX = source.width;
|
||||
nativeResoY = source.height;
|
||||
//println(nativeResoX);
|
||||
|
||||
Reference in New Issue
Block a user