projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disabled clipping code again; it is getting stuck in loops
[org.ibex.core.git]
/
src
/
org
/
ibex
/
core
/
Box.java
diff --git
a/src/org/ibex/core/Box.java
b/src/org/ibex/core/Box.java
index
595e101
..
396a2b6
100644
(file)
--- a/
src/org/ibex/core/Box.java
+++ b/
src/org/ibex/core/Box.java
@@
-247,10
+247,13
@@
public final class Box extends JS.Obj implements Callable, Mesh.Chain {
return;
}
return;
}
+ // FIXME: mesh clipping code has been getting stuck in loops; to see this,
+ // uncomment the next two lines and swap the order of the last two lines.
+
//if (clipFrom != null) clipFrom.subtract(mesh, clipa);
//if (clipFrom != null) clipFrom.subtract(mesh, clipa);
- Mesh mesh = treeSize() > 0 ? this.mesh.copy() : this.mesh;
- for(Box b = getChild(0); b != null; b = b.nextSibling()) b.render(buf, a, mesh, Affine.identity());
+ //Mesh mesh = treeSize() > 0 ? this.mesh.copy() : this.mesh;
mesh.fill(buf, a, null, fillcolor, true);
mesh.fill(buf, a, null, fillcolor, true);
+ for(Box b = getChild(0); b != null; b = b.nextSibling()) b.render(buf, a, mesh, Affine.identity());
}
// Methods to implement org.ibex.js.JS //////////////////////////////////////
}
// Methods to implement org.ibex.js.JS //////////////////////////////////////