libobs: Create unique groups when duplicating scene - #11092
Open
Warchamp7 wants to merge 1 commit into
Open
Conversation
Warchamp7
marked this pull request as ready for review
June 8, 2026 18:34
Member
Author
|
This PR was originally Drafted due to duplicating a scene causing any groups in it to be created as duplicates rather than references. However since this PR, our envisioned UX around groups has changed to prefer duplication and the new add source flow actively discourages group references. Situations where users want a collection of sources that can be referenced in multiple places and updated once should use Scenes as sources and improvements around that workflow are planned. Groups should remain as strictly an organizational tool within a particular scene. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates
obs_scene_duplicateto always duplicate groups within the duplicated scene.This fixes the weird behavior of groups in Studio Mode when Duplicate Scenes is ON and Duplicate Sources is OFF (These are the default settings)
Motivation and Context
Studio mode allows users to modify a scene without the changes happening live in Program.
Since we default to Duplicate Scenes enabled and Duplicate Sources disabled, sources that are nested in a scene (or a group) still have their changes reflected immediately in program. In some cases, this is desirable behavior.
However, this has two drawbacks.
How Has This Been Tested?
Adjusted the size and position of a group as well as it's contents in normal mode and studio mode.
Tested with all combinations of Duplicate Scenes and Duplicate Sources ON and OFF
Types of changes
Checklist: