We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_setupDone
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.11.7
Chrome
macOS
_setupDone flag is not being set to true after setup finishes.
Seems to only be an issue in global mode, not with p5 instances.
Example: https://editor.p5js.org/quinton-ashley/sketches/tJkTywzxu
The text was updated successfully, but these errors were encountered:
Looks like it works as expected if you access it like this:
function setup() { createCanvas(400, 400); console.log(_renderer._pInst._setupDone); } function draw() { console.log(_renderer._pInst._setupDone); noLoop(); }
So it seems like it's just that the global _setupDone isn't updated. Which might be ok since it's a piece of internal state?
Sorry, something went wrong.
If _setupDone isn't properly updated globally, or as a property of the p5 instance itself, maybe it should be removed if not repaired?
Even though it's internal state, I didn't expect it to break so late in p5 v1's development.
false
P5LIVE
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Most appropriate sub-area of p5.js?
p5.js version
1.11.7
Web browser and version
Chrome
Operating system
macOS
Steps to reproduce this
_setupDone
flag is not being set to true after setup finishes.Seems to only be an issue in global mode, not with p5 instances.
Example:
https://editor.p5js.org/quinton-ashley/sketches/tJkTywzxu
The text was updated successfully, but these errors were encountered: