UNDO: backed out broken part of 500 fix
[org.ibex.core.git] / 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());
         }