diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-03-16 15:06:57 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-03-16 15:06:57 +0800 |
commit | cb0fa0ed7b6b5e953f820a762979d1d35c12b8ee (patch) | |
tree | 918345f0d03665d9dd90f25ff30db0d67c866119 /modules/gdscript/gdscript_analyzer.cpp | |
parent | e01b82857575b780dcc4788d18f128127aa8e484 (diff) | |
download | redot-engine-cb0fa0ed7b6b5e953f820a762979d1d35c12b8ee.tar.gz |
Fix error when opening Inspector's dots menu
When the inspector is empty, opening the "extra resource options" menu
produces a error:
> Condition "current_res.is_null()" is true.
Opening the mneu with no current resource is valid use case, so
`ERR_FAIL_COND` should not be used.
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
0 files changed, 0 insertions, 0 deletions