mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-19 11:44:38 -04:00
libobs: Remove group_sceneitem from obs_scene struct
(This commit also modifies UI) Removes obs_scene::group_sceneitem and replaces it with obs_scene::is_group. Changes a number of other functions related to groups so that a group is not inherently tied to a specific scene, and helps allow a single group to be referenced in multiple scenes if desired.
This commit is contained in:
@@ -2627,7 +2627,7 @@ void OBSBasic::DeactivateAudioSource(OBSSource source)
|
||||
bool OBSBasic::QueryRemoveSource(obs_source_t *source)
|
||||
{
|
||||
if (obs_source_get_type(source) == OBS_SOURCE_TYPE_SCENE &&
|
||||
!obs_sceneitem_group_from_source(source)) {
|
||||
!obs_source_is_group(source)) {
|
||||
int count = ui->scenes->count();
|
||||
|
||||
if (count == 1) {
|
||||
|
||||
Reference in New Issue
Block a user