Complete NavigationMeshInstance rename

This commit is contained in:
lupoDharkael
2020-03-08 17:33:34 +01:00
parent 7579a792be
commit d63bf6dea5
3 changed files with 11 additions and 11 deletions

View File

@@ -84,13 +84,13 @@ void NavigationMeshEditor::_clear_pressed() {
}
}
void NavigationMeshEditor::edit(NavigationRegion *p_nav_mesh_instance) {
void NavigationMeshEditor::edit(NavigationRegion *p_nav_region) {
if (p_nav_mesh_instance == NULL || node == p_nav_mesh_instance) {
if (p_nav_region == NULL || node == p_nav_region) {
return;
}
node = p_nav_mesh_instance;
node = p_nav_region;
}
void NavigationMeshEditor::_bind_methods() {

View File

@@ -61,7 +61,7 @@ protected:
void _notification(int p_option);
public:
void edit(NavigationRegion *p_nav_mesh_instance);
void edit(NavigationRegion *p_nav_region);
NavigationMeshEditor();
~NavigationMeshEditor();
};