mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Fixed a crash when switching to another scene after switching to another scene collection
This commit is contained in:
@ -264,6 +264,15 @@ void WSEvents::OnSceneListChange()
|
|||||||
void WSEvents::OnSceneCollectionChange()
|
void WSEvents::OnSceneCollectionChange()
|
||||||
{
|
{
|
||||||
broadcastUpdate("SceneCollectionChanged");
|
broadcastUpdate("SceneCollectionChanged");
|
||||||
|
|
||||||
|
scene_handler = nullptr;
|
||||||
|
transition_handler = nullptr;
|
||||||
|
|
||||||
|
OnTransitionListChange();
|
||||||
|
OnTransitionChange();
|
||||||
|
|
||||||
|
OnSceneListChange();
|
||||||
|
OnSceneChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WSEvents::OnSceneCollectionListChange()
|
void WSEvents::OnSceneCollectionListChange()
|
||||||
|
Reference in New Issue
Block a user