MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / getPreviousSceneHelper

Function getPreviousSceneHelper

plugins/base/macro-condition-scene.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static OBSWeakSource getPreviousSceneHelper(bool useTransitionTargetScene)
66{
67 if (AnySceneTransitionStarted() && useTransitionTargetScene) {
68 return GetCurrentScene();
69 }
70 return GetPreviousScene();
71}
72
73bool MacroConditionScene::CheckCondition()
74{

Callers 1

CheckConditionMethod · 0.85

Calls 3

GetCurrentSceneFunction · 0.85
GetPreviousSceneFunction · 0.85

Tested by

no test coverage detected