Browse files

make loadPixels()/updatePixels() work

  • Loading branch information...
1 parent 81d4988 commit e4c55cd0ff042cbfcb2713d1ee6a78ac1963b4cd @jdf committed Oct 17, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 runtime/src/jycessing/PAppletJythonDriver.java
View
6 runtime/src/jycessing/PAppletJythonDriver.java
@@ -275,6 +275,12 @@ public void draw() {
}
@Override
+ public void loadPixels() {
+ super.loadPixels();
+ builtins.__setitem__("pixels", Py.java2py(pixels));
+ }
+
+ @Override
public void mouseClicked() {
if (mouseClickedMeth == null) {
super.mouseClicked();

0 comments on commit e4c55cd

Please sign in to comment.