mirror of
https://github.com/processing/processing4.git
synced 2026-02-18 21:05:36 +01:00
don't need 2D/3D versions of createShape()
This commit is contained in:
@@ -126,7 +126,7 @@ public class PGraphics3D extends PGraphicsOpenGL {
|
||||
obj = new PShapeOBJ(pg.parent, filename);
|
||||
int prevTextureMode = pg.textureMode;
|
||||
pg.textureMode = NORMAL;
|
||||
PShapeOpenGL p3d = PShapeOpenGL.createShape3D((PGraphicsOpenGL)pg, obj);
|
||||
PShapeOpenGL p3d = PShapeOpenGL.createShape((PGraphicsOpenGL)pg, obj);
|
||||
pg.textureMode = prevTextureMode;
|
||||
return p3d;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user