dumb, dumb breakage to svg loading

This commit is contained in:
benfry
2011-06-24 00:04:07 +00:00
parent 0f60978fbd
commit f0e5e133b3
4 changed files with 7 additions and 16 deletions
@@ -3636,11 +3636,7 @@ public class PApplet extends Activity implements PConstants, Runnable {
// NODE I/O (XML, JSON, etc.)
public PNode loadNode(String filename) {
if (filename.toLowerCase().endsWith(".xml")) {
return new PNode(this, filename);
} else {
throw new RuntimeException("filename used for loadNode() must end with XML");
}
return new PNode(this, filename);
}
+1 -5
View File
@@ -4177,11 +4177,7 @@ public class PApplet extends Applet
// NODE I/O (XML, JSON, etc.)
public PNode loadNode(String filename) {
if (filename.toLowerCase().endsWith(".xml")) {
return new PNode(this, filename);
} else {
throw new RuntimeException("filename used for loadNode() must end with XML");
}
return new PNode(this, filename);
}
+2
View File
@@ -1,4 +1,6 @@
0199 core
X pnode: look more closely at json and xml compatibility
X argh, dumb mistake that broke SVG loading with loadNode()
andres
+3 -6
View File
@@ -1,6 +1,8 @@
0199 pde
_ update to java 6u26
_ update the build instructions page
_ http://code.google.com/p/processing/wiki/BuildInstructions
@@ -32,8 +34,6 @@ _ http://code.google.com/p/processing/issues/detail?id=688
_ write quicktime uncompressed (w/o qtjava)
_ http://www.randelshofer.ch/blog/2010/10/writing-quicktime-movies-in-pure-java/
pnode: look more closely at json and xml compatibility
frequent requests/projects
_ nurbs or other architecture stuff
_ force indentation - implement an option for beginners especially
@@ -43,10 +43,6 @@ _ fix autoformat to indent like the p5 book/examples
_ common error messages
_ with a proper list, we can add links when throwing an error in the PDE
casey
_ colors for 2.0 - casey working on it, presenting sunday
ben
_ build is currently broken for fresh checkout due to changes to file layout
_ something that gets fixed by 'make clean'
@@ -86,6 +82,7 @@ _ jer: android tutorial
_ probably later: examples into categories based on difficulty
_ add ratings/difficult level to examples online and in the pde
_ go through examples, figure out how to do many on the site w/ js instead
_ colors/design for 2.0
opengl
_ new opengl2