Presence of texture and transformation matrix in child shapes is pre-computed before draw()

This commit is contained in:
codeanticode
2012-01-09 19:58:28 +00:00
parent 3615be7f72
commit dcdab48e2a
2 changed files with 126 additions and 110 deletions

View File

@@ -1106,6 +1106,13 @@ public class PShape implements PConstants {
public void updateRoot(PShape root) {
}
protected void modified() {
modified = true;
if (parent != null) {
parent.modified();
}
}
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .