Compare commits
1 Commits
7eae1e127c
...
af4b718053
| Author | SHA1 | Date | |
|---|---|---|---|
| af4b718053 |
@@ -135,7 +135,7 @@ PIVariant PIValueTree::childValue(const PIString & child_name, const PIVariant &
|
||||
|
||||
|
||||
bool PIValueTree::contains(const PIString & name) const {
|
||||
if (_is_null) return true;
|
||||
if (_is_null) return false;
|
||||
for (const auto & c: _children)
|
||||
if (c.name() == name) return true;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user