mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Log Show/Hide transitions on scene collection load
This commit is contained in:
parent
a82bb12848
commit
5485a91d4c
|
@ -902,6 +902,16 @@ static bool LogSceneItem(obs_scene_t *, obs_sceneitem_t *item, void *v_val)
|
|||
int child_indent = 1 + indent_count;
|
||||
obs_source_enum_filters(source, LogFilter,
|
||||
(void *)(intptr_t)child_indent);
|
||||
|
||||
obs_source_t *show_tn = obs_sceneitem_get_show_transition(item);
|
||||
obs_source_t *hide_tn = obs_sceneitem_get_hide_transition(item);
|
||||
if (show_tn)
|
||||
blog(LOG_INFO, " %s- show: '%s' (%s)", indent.c_str(),
|
||||
obs_source_get_name(show_tn), obs_source_get_id(show_tn));
|
||||
if (hide_tn)
|
||||
blog(LOG_INFO, " %s- hide: '%s' (%s)", indent.c_str(),
|
||||
obs_source_get_name(hide_tn), obs_source_get_id(hide_tn));
|
||||
|
||||
if (obs_sceneitem_is_group(item))
|
||||
obs_sceneitem_group_enum_items(item, LogSceneItem,
|
||||
(void *)(intptr_t)child_indent);
|
||||
|
|
Loading…
Reference in a new issue