mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-28 08:08:44 -05:00
Fixes an issue where when "Duplicate Scenes" and "Switch Preview/Program after Transitioning" were disabled and preview and program were the same scene, pressing "Transition" would just disable the menus without anything happening. This is because a transition is initiated, but never actually starts transitioning (since both scenes are the same). The check for this already exists, but was only triggered in swapScenesMode. Also renames the newScene variable to lastScene to make it more obvious what it actually is (especially since now, it's not only the new scene anymore).
49 KiB
49 KiB