File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ///////////////////////////////////////////////////////////
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments