PShapeOpenGL.setTexture() calls setTexture() on children shapes.

This commit is contained in:
codeanticode
2013-05-28 10:37:55 -04:00
parent 54bb25645c
commit aa2ac0600b
+1 -1
View File
@@ -780,7 +780,7 @@ public class PShapeOpenGL extends PShape {
if (family == GROUP) {
for (int i = 0; i < childCount; i++) {
PShapeOpenGL child = (PShapeOpenGL) children[i];
child.texture(tex);
child.setTexture(tex);
}
} else {
setTextureImpl(tex);