MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / importSettings

Function importSettings

plugins/base/macro-action-plugin-state.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static void importSettings(const std::string &path)
40{
41 if (SettingsWindowIsOpened()) {
42 return;
43 }
44 OBSDataAutoRelease obj = obs_data_create_from_json_file(path.c_str());
45 if (!obj) {
46 return;
47 }
48 LoadPluginSettings(obj);
49}
50
51static void setNoMatchBehaviour(int value, OBSWeakSource &scene)
52{

Callers 1

PerformActionMethod · 0.85

Calls 3

SettingsWindowIsOpenedFunction · 0.50
LoadPluginSettingsFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected