Closed Wolftronics-SBC closed 6 years ago
does the code work without ofxImGui? Sounds like an issue with ofXml or ofSerialize
code not work without ofxImGui.
not save min max value only position save
ofXml child = xml.findFirst(name); I think this is a problem.
` ofXml child = xml.findFirst(name);
if(!child || !name.find("##")){`
load config not work does not matter ## ofXml xml; xml.load("settings.xml"); ofDeserialize(xml, parameters);
closing since the code doesn’t work without ofxImGui.
if ## is in the name not save to xml
ofParameter<int> min{ "##Min", 5000, 5000, 65535 }; // not save ## ? ofParameter<int> max{ "Max", 5000, 5000, 65535 }; ofParameterGroup parameters{ "Parameters", min, max };