1
0
Fork 0

Fix adding a NavigationPolygonInstance to a Node2D freezing the editor

Fixes #11975
This commit is contained in:
Bojidar Marinov 2017-10-20 16:55:47 +03:00
parent f52ab8d864
commit a6472d0344
No known key found for this signature in database
GPG Key ID: 4D546A8F1E091856
1 changed files with 1 additions and 1 deletions

View File

@ -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;