loadShape NullPointerError
in
Core Library Questions
•
1 year ago
I've been working on the "old" processing 1.5.1 and I used loadShape like this.
PShape s;
s = loadShape("spaceship.svg");
...
shape(s,0,0,100,100);
=============
But now I've changed to the "new" (processing 2.0a4) and
loadShape("spaceship.svg");
is giving me a NullPointerException.
I see they say on the website that they have made changes to these functions, and that you should use the default loadShape() function, I thought that i AM using the default loadShape()?
anyway..
Please help, my program is full of SVG's and the need to drawn!
Thanks
rotti
The Prodigy - "One Love" jamming full blast in the backgound.
1