mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
PShapeOpenGL.setTexture() calls setTexture() on children shapes.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user