[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
5f1e56ff26
commit
75ee58fd04
61 changed files with 217 additions and 217 deletions
|
|
@ -2349,7 +2349,7 @@ void FileSystemDock::_resource_created() {
|
|||
|
||||
ERR_FAIL_COND(!c);
|
||||
Resource *r = Object::cast_to<Resource>(c);
|
||||
ERR_FAIL_COND(!r);
|
||||
ERR_FAIL_NULL(r);
|
||||
|
||||
PackedScene *scene = Object::cast_to<PackedScene>(r);
|
||||
if (scene) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue