void ForelleVisualAppApp::loadSettings(){ try{ const XmlTree xml( loadFile( "settings.xml" ) ); ipAdress = xml.getChild("settings/artNet").getAttributeValue<string>("ipAdress"); }catch(StreamExc e){ console() << "no settings file" << std::endl; } parser.loadScene(clusters, getResourcePath()+"/standartScene.xml"); }
void ForelleVisualAppApp::loadScene() { parser.loadScene(clusters); selectedCluster = clusters.end()-1; clusterBar.loadParameters(clusters); }