DARLiiNG / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

how to manually update gui fields inside nested folders? #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a gui with folders, then put gui widgets in those folders
2. read 
http://workshop.chromeexperiments.com/examples/gui/#10--Updating-the-Display-Man
ually
3. Implementing what is described there does not work

What is the expected output? What do you see instead?

The logic given at 
http://workshop.chromeexperiments.com/examples/gui/#10--Updating-the-Display-Man
ually does not handle the case of a gui using folders. It appears a workable 
solution is to manually retain any folder objects, and then implement logic 
that loops over the retained folder's __controllers in a manner as described by 
http://workshop.chromeexperiments.com/examples/gui/#10--Updating-the-Display-Man
ually.

It would be convenient if a folder exposed an updateDisplay() which operated 
upon its contents. Likewise, if the gui also exposed that, it would be very 
convenient. 

What version of the product are you using? On what operating system?

Using the latest dat.gui version, downloaded from this 
code.google.com/p/dat-gui site on June 4, 2013. Operating system I'm developing 
on is OSX 10.7.5 and Firefox 21.0.

Please provide any additional information below.

Original issue reported on code.google.com by bsenft...@gmail.com on 5 Jun 2013 at 8:36