Repository navigation
libobs: Fix duplicated group names - #14149
Conversation
|
Names for private duplicates scene do matter. For example my move plugin needs the name of the source to match the same source when transitioning in studio mode. I think it was not inverted by mistake, it was to prevent getting 2 not private sources with the same name. Which is now handled by obs_context_deduplicate_name. |
|
Indeed it appears you yourself made that change in #3819. While I'm okay to keep this behaviour for now, I do think you should look into more robust alternatives, such as holding a map of scene item <-> scene item when program changes, since at the time of transition, the contents will be in an identical order. |
Always give duplicated sources a name.
3cb91ea to
021f43e
Compare
Description
Fixes duplicated groups not being named correctly.
Motivation and Context
A scene can be duplicated either manually by the user, or when using Studio Mode. For the ephemeral copy used by studio mode, names don't matter. The check for whether to bother generating a name for the duplicated item was inverted by mistake.
Fixes #14145
How Has This Been Tested?
Duplicated a scene manually and observed the group had a name.
Types of changes
Checklist: