Changes to PShape in 2.08?
in
Programming Questions
•
7 months ago
Hi all.
Since upgrading to version 2.08, the following code (from the PShape reference page) no longer seems to work:
s = createShape(); s.fill(0, 0, 255); s.noStroke(); s.vertex(0, 0); s.vertex(0, 50); s.vertex(50, 0);
s.end();
It throws an error stating that the end() method does not exist.
I have confirmed that this code does execute as expected under version 2.07.
I'm wondering if this reflects an intentional change to PShape (in which case the Reference page should be updated), or a bug in 2.08.
Apologies if this issue has already been addressed, but I was unable to find mention of it in the Processing forum or on the bug tracker.
Thanks,
Tad
2