| 1043 | } |
| 1044 | |
| 1045 | void ScriptModule::RefreshStyleFiles() |
| 1046 | { |
| 1047 | ofxJSONElement root; |
| 1048 | if (File(ofToDataPath("scriptstyles.json")).existsAsFile()) |
| 1049 | root.open(ofToDataPath("scriptstyles.json")); |
| 1050 | else |
| 1051 | root.open(ofToResourcePath("userdata_original/scriptstyles.json")); |
| 1052 | sStyleJSON = root["styles"]; |
| 1053 | } |
| 1054 | |
| 1055 | void ScriptModule::RefreshScriptFiles() |
| 1056 | { |
nothing calls this directly
no test coverage detected