Added/Fixed null pointer checks
This commit is contained in:
parent
53c0010932
commit
7a07895920
14 changed files with 39 additions and 47 deletions
|
|
@ -1646,7 +1646,7 @@ PropertyInfo AnimationKeyEditor::_find_hint_for_track(int p_idx, NodePath &r_bas
|
|||
List<PropertyInfo> pinfo;
|
||||
if (res.is_valid())
|
||||
res->get_property_list(&pinfo);
|
||||
else
|
||||
else if (node)
|
||||
node->get_property_list(&pinfo);
|
||||
|
||||
for (List<PropertyInfo>::Element *E = pinfo.front(); E; E = E->next()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue