mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-22 14:05:00 -04:00
UI: Replace usage of obs_scene_sceneitem_from_source
Instead of first creating the scene item and then finding it again using a method that's generally problematic (and only works here because we know that there is only one instance of a source), let's just remember the scene item in AddNew after we create it, similar to the source itself.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f