Utils: Add isGroup to Obs::ListHelper::GetSceneList()

This commit is contained in:
tt2468 2021-06-16 00:55:53 -07:00
parent 94d7df0bc1
commit 5cc52ce704

View File

@ -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);
}