mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
Fix incorrectly set start scene type when extending scquence with groups
This would result in extended sequences being aborted early whenever one would try to extend after a scene group entry
This commit is contained in:
parent
d743260ca8
commit
4af07d9d55
|
|
@ -392,6 +392,11 @@ SceneSequenceSwitch *SceneSequenceSwitch::extend()
|
|||
}
|
||||
extendedSequence = std::make_unique<SceneSequenceSwitch>();
|
||||
extendedSequence->startScene = scene;
|
||||
if (targetType == SwitchTargetType::SceneGroup) {
|
||||
extendedSequence->startScene = nullptr;
|
||||
extendedSequence->startTargetType =
|
||||
SwitchTargetType::SceneGroup;
|
||||
}
|
||||
return extendedSequence.get();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user