mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
(API Change) libobs: Add 'type' to obs_scene_duplicate
(Note: This commit also modifies the UI) Allows the ability to duplicate sources fully copied, and/or have the scene and its duplicates be private sources
This commit is contained in:
@@ -1769,7 +1769,7 @@ void OBSBasic::DuplicateSelectedScene()
|
||||
}
|
||||
|
||||
obs_scene_t *scene = obs_scene_duplicate(curScene,
|
||||
name.c_str());
|
||||
name.c_str(), OBS_SCENE_DUP_REFS);
|
||||
source = obs_scene_get_source(scene);
|
||||
obs_scene_release(scene);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user