mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
remove error with dxf and opengl
This commit is contained in:
+3
-1
@@ -315,7 +315,9 @@ public class RawDXF extends PGraphics3 {
|
||||
public void beginShape(int kind) {
|
||||
shape = kind;
|
||||
|
||||
if ((shape != LINES) && (shape != TRIANGLES)) {
|
||||
if ((shape != LINES) &&
|
||||
(shape != LINE_STRIP) &&
|
||||
(shape != TRIANGLES)) {
|
||||
String err =
|
||||
"RawDXF should only be used with beginRaw(), " +
|
||||
"as it only supports lines and triangles";
|
||||
|
||||
Reference in New Issue
Block a user