diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-01-10 13:01:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-10 13:01:30 +0100 |
| commit | cf25090cc8aa9fa628e56fc50a6affb22ea2a9ae (patch) | |
| tree | 7e393c10be8f63254b92a9b628f9cfe1b7009c00 /core | |
| parent | 5f7bbf4d333ec4a7473a8e720de57bc8cbadd469 (diff) | |
| parent | af67e4c2919cb12ec257ca6bc3bb264933e4e2a4 (diff) | |
Merge pull request #56662 from timothyqiu/fbx-fixes
Diffstat (limited to 'core')
| -rw-r--r-- | core/templates/set.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/set.h b/core/templates/set.h index 9107459884..cdc6e8447d 100644 --- a/core/templates/set.h +++ b/core/templates/set.h @@ -582,6 +582,9 @@ public: } Element *lower_bound(const T &p_value) const { + if (!_data._root) { + return nullptr; + } return _lower_bound(p_value); } |