openFrameworks
openFrameworks copied to clipboard
Virtual ofParameter reInit()
Following the isInit() implementation, it makes sense to push reInit() up into the ofAbstractParameter so it can also be done without unwrapping the parameter type. It can then also be applied on ofParameterGroup (where it reInits all the children).
Added verbose logs to notify users that calling reInit() on the special-case ofParameter<void> has no effect. (Also inverted the result of ofParameter<void>::isInit() (from false to true) as the general use case of iterating a group will probably be to look for non-init values, so the <void> types have more chances of being unobtrusive returning true).
while we're in the subject, I guess it's an ofSite question but how does the online docs get re-generated? as of now the reference is 6-8 years old. (NB I've previously tried to install the toolchain but got stuck).