Merge pull request #12260 from bojidar-bg/11975-navpoly-freeze
Fix adding a NavigationPolygonInstance to a Node2D freezing the editor [ci skip]
This commit is contained in:
commit
fd4c907a35
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ void NavigationPolygonInstance::_notification(int p_what) {
|
|||
break;
|
||||
}
|
||||
|
||||
c = Object::cast_to<Node2D>(get_parent());
|
||||
c = Object::cast_to<Node2D>(c->get_parent());
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue