UNDO: backed out broken part of 500 fix
authortupshin <tupshin@tupshin.com>
Mon, 22 Mar 2004 04:59:21 +0000 (04:59 +0000)
committertupshin <tupshin@tupshin.com>
Mon, 22 Mar 2004 04:59:21 +0000 (04:59 +0000)
darcs-hash:20040322045921-a9258-4dc87480b31cbd02469e2656e29fb78cd82b00e4.gz

src/org/ibex/Box.java

index 2109cb9..524cb7c 100644 (file)
@@ -685,6 +685,7 @@ public final class Box extends JSScope implements Scheduler.Task {
             fillcolor = newfillcolor;
         } else if(value instanceof JS) {
             texture = Picture.load((JS)value, this);
+            if (texture != null) perform();
         } else {
             throw new JSExn("fill must be null, a String, or a stream, not a " + value.getClass());
         }