From aa2ac0600b2f57f152554b0ce1790a17a44f0599 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Tue, 28 May 2013 10:37:55 -0400 Subject: [PATCH] PShapeOpenGL.setTexture() calls setTexture() on children shapes. --- core/src/processing/opengl/PShapeOpenGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PShapeOpenGL.java b/core/src/processing/opengl/PShapeOpenGL.java index a77636aa6..6a525c11d 100644 --- a/core/src/processing/opengl/PShapeOpenGL.java +++ b/core/src/processing/opengl/PShapeOpenGL.java @@ -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);