Skip to content

Commit 7260b00

Browse files
committed
more tweaks
1 parent 8f959b8 commit 7260b00

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

core/src/processing/core/PGraphicsJava2D.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ public PShape loadShape(String filename) {
11671167
e.printStackTrace();
11681168
}
11691169
} else {
1170-
PGraphics.showWarning("Unsupported format");
1170+
PGraphics.showWarning("Unsupported format: " + filename);
11711171
}
11721172

11731173
return svg;

core/src/processing/core/PShape.java

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ public float getDepth() {
397397

398398

399399

400+
/*
400401
// TODO unapproved
401402
protected PVector getTop() {
402403
return getTop(null);
@@ -422,6 +423,7 @@ protected PVector getBottom(PVector bottom) {
422423
}
423424
return bottom;
424425
}
426+
*/
425427

426428

427429
/**
@@ -440,13 +442,13 @@ public boolean is3D() {
440442
}
441443

442444

443-
/**
444-
* Return true if this shape requires rendering through OpenGL. Defaults to false.
445-
*/
446-
// TODO unapproved
447-
public boolean isGL() {
448-
return false;
449-
}
445+
// /**
446+
// * Return true if this shape requires rendering through OpenGL. Defaults to false.
447+
// */
448+
// // TODO unapproved
449+
// public boolean isGL() {
450+
// return false;
451+
// }
450452

451453

452454
///////////////////////////////////////////////////////////

core/src/processing/core/PShapeSVG.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public PShapeSVG(XML svg) {
214214
}
215215

216216

217-
public PShapeSVG(PShapeSVG parent, XML properties, boolean parseKids) {
217+
protected PShapeSVG(PShapeSVG parent, XML properties, boolean parseKids) {
218218
// Need to set this so that findChild() works.
219219
// Otherwise 'parent' is null until addChild() is called later.
220220
this.parent = parent;

core/src/processing/opengl/PShapeOpenGL.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ public float getDepth() {
546546
}
547547

548548

549+
/*
549550
@Override
550551
public PVector getTop(PVector top) {
551552
if (top == null) {
@@ -568,6 +569,7 @@ public PVector getBottom(PVector bottom) {
568569
getVertexMax(bottom);
569570
return bottom;
570571
}
572+
*/
571573

572574

573575
protected void getVertexMin(PVector min) {

0 commit comments

Comments
 (0)