Repository navigation
libobs: Preserve transition state when swapping - #14086
prgmitchell wants to merge 1 commit into
Conversation
|
Can you explain what exactly is going wrong here? I'm able to reproduce this but the fix seems like it's papering over the problem. |
|
@Warchamp7 there is always the chance I am lacking some understanding here so if you have another solution I am open to adjusting my PR. just essentially went through all the debug steps again real quick to make sure I got this explanation right. I made two scenes: one with a green color source and one with red. once I was able to repro, I checked the transition state vs the selected scene and rendered output and the selected scene was now all that being said, in doing this testing again I have realized their is a gap in my original fix that would still freeze when transitioning toward the already copied B so I have modified my approach a bit and updated the commit. EDIT: need to look at this further, I misunderstood how some of this worked. |
68627f6 to
6b3170a
Compare
Carry running transition state across swaps and prevent queued stop callbacks from restoring the default transition too early.
6b3170a to
2839d98
Compare
|
Closing in favor of Warchamps changes |
Description
When an override interrupted an active transition, the scene sources were copied without the running state which could leave later scene changes stuck. Carry running transition state across swaps and prevent queued stop callbacks from restoring the default transition too early.
Motivation and Context
Fixes #11914
How Has This Been Tested?
Repro'd with the steps from the above issue, can no longer repro after this change.
Types of changes
Checklist: