remove error with dxf and opengl

This commit is contained in:
benfry
2006-05-09 12:01:19 +00:00
parent 175f899dd8
commit ee405b14d2
+3 -1
View File
@@ -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";