mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Utils: Add isGroup to Obs::ListHelper::GetSceneList()
This commit is contained in:
parent
94d7df0bc1
commit
5cc52ce704
@ -162,6 +162,7 @@ std::vector<json> Utils::Obs::ListHelper::GetSceneList()
|
||||
json sceneJson;
|
||||
sceneJson["sceneName"] = obs_source_get_name(scene);
|
||||
sceneJson["sceneIndex"] = sceneList.sources.num - (i + 1);
|
||||
sceneJson["isGroup"] = obs_source_is_group(scene);
|
||||
ret.push_back(sceneJson);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user