Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeNTooGeek patch change visibility before after update source text #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GeNTooGeek
Copy link

Small modification to hide sources prior to update and then set to visible again afterward.

As I was playing around with the fading functionality, I noticed that the fading was not consistently timed. So I started looking into the code, and I began to wonder why the fading is implemented directly in the script, as opposed to relying on the transitions available during source visibility changes. I noticed that the existing code, when fading is not enabled, simply changes the text while the sources are visible. By hiding the sources prior to changing the text and then unhiding them after, we can take advantage of the show/hide transitions.

This does do some weird things when Transition Preview to program is enabled and I haven't really worked those out. My current project doesn't require that option and I won't have time to further troubleshoot until after it is completed, but I will look more into it. It will likely be a couple weeks before I can dedicate much time to this, again.

Searches for lyric sources in nested scenes.  The recursive function defined mimics obs_scene_find_source_recursive, but also searches through scene sources in addition to sceneitem groups.

Also uncomments a obs_source_release that shouldn't have been commented.
…scene

Allow lyrics text in nested scenes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant