mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-20 09:07:26 -05:00
Set default logic type of new non-root conditions to "or"
This commit is contained in:
parent
1a819c807e
commit
90ebf0e0f8
|
|
@ -375,7 +375,7 @@ void AdvSceneSwitcher::AddMacroCondition(int idx)
|
|||
if (idx >= 1) {
|
||||
id = macro->Conditions().at(idx - 1)->GetId();
|
||||
if (idx == 1) {
|
||||
logic = LogicType::NONE;
|
||||
logic = LogicType::OR;
|
||||
} else {
|
||||
logic = macro->Conditions().at(idx - 1)->GetLogicType();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user