mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 23:26:25 +02:00
Cleaning the feature not conditional do the true design
This commit is contained in:
parent
c2687b4998
commit
0211e00c86
1 changed files with 3 additions and 0 deletions
|
@ -839,6 +839,9 @@ Conditional::Pointer UserInputMapper::parseConditional(const QJsonValue& value)
|
|||
|
||||
auto input = findDeviceInput(conditionalToken);
|
||||
auto endpoint = endpointFor(input);
|
||||
if (!endpoint) {
|
||||
return Conditional::Pointer();
|
||||
}
|
||||
auto conditional = std::make_shared<EndpointConditional>(endpoint);
|
||||
|
||||
if (!conditionalModifier.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue