Skip to content
New issue

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

Saving parameters with dat.gui seems broken #48

Open
GoogleCodeExporter opened this issue Oct 30, 2015 · 2 comments
Open

Saving parameters with dat.gui seems broken #48

GoogleCodeExporter opened this issue Oct 30, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

There seems to be a problem with saving parameters in the latest build of 
dat.gui.

The problem shows when clicking the gear icon which should open a popup with 
the JSON to be saved. Also saving to local storage does not work for me. Here 
are two JSFiddles:

http://jsfiddle.net/navFooh/XZcde/
With the minified library, clicking the gear throws an error in the console: 
Uncaught TypeError: Cannot read property 'forEach' of undefined dat.gui.min.js:3

http://jsfiddle.net/navFooh/8Hek6/
With the normal library, clicking the gear icon does show the popup with JSON, 
but the parameter x does not show

Original issue reported on code.google.com by [email protected] on 29 Mar 2014 at 1:57

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Please disregard this issue, it was the order in which I called remember and 
add.
See: 
http://stackoverflow.com/questions/22730039/saving-parameters-with-dat-gui-seems
-broken

Original comment by [email protected] on 30 Mar 2014 at 10:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant