mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
bugfix: TransitionBegin not emitted after scene collection change (#250)
This commit is contained in:
parent
962e26040d
commit
9ad340ab02
@ -98,7 +98,6 @@ WSEvents::~WSEvents() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void WSEvents::deferredInitOperations() {
|
void WSEvents::deferredInitOperations() {
|
||||||
OBSSourceAutoRelease transition = obs_frontend_get_current_transition();
|
|
||||||
hookTransitionBeginEvent();
|
hookTransitionBeginEvent();
|
||||||
|
|
||||||
OBSSourceAutoRelease scene = obs_frontend_get_current_scene();
|
OBSSourceAutoRelease scene = obs_frontend_get_current_scene();
|
||||||
@ -121,6 +120,7 @@ void WSEvents::FrontendEventHandler(enum obs_frontend_event event, void* private
|
|||||||
owner->OnSceneCollectionChange();
|
owner->OnSceneCollectionChange();
|
||||||
}
|
}
|
||||||
else if (event == OBS_FRONTEND_EVENT_SCENE_COLLECTION_LIST_CHANGED) {
|
else if (event == OBS_FRONTEND_EVENT_SCENE_COLLECTION_LIST_CHANGED) {
|
||||||
|
owner->hookTransitionBeginEvent();
|
||||||
owner->OnSceneCollectionListChange();
|
owner->OnSceneCollectionListChange();
|
||||||
}
|
}
|
||||||
else if (event == OBS_FRONTEND_EVENT_TRANSITION_CHANGED) {
|
else if (event == OBS_FRONTEND_EVENT_TRANSITION_CHANGED) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user