summaryrefslogtreecommitdiff
path: root/modules/gdnavigation/navigation_mesh_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-09 12:15:02 +0100
committerGitHub <noreply@github.com>2020-03-09 12:15:02 +0100
commitbc9e9f1dfca72747a048701f2f18dc0f3a878f75 (patch)
tree1fcd1b3334d5c7483e4794d81e7c7d60fd737de7 /modules/gdnavigation/navigation_mesh_editor_plugin.cpp
parente162c07af933488cd5d867424e7a22b162334e5e (diff)
parentd63bf6dea5b94d7f74b8ea22c4a182d205b1d93f (diff)
Merge pull request #36911 from lupoDharkael/nav-rename
Complete NavigationMeshInstance rename
Diffstat (limited to 'modules/gdnavigation/navigation_mesh_editor_plugin.cpp')
-rw-r--r--modules/gdnavigation/navigation_mesh_editor_plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdnavigation/navigation_mesh_editor_plugin.cpp b/modules/gdnavigation/navigation_mesh_editor_plugin.cpp
index 5c298ae9e4..e6ff7a7afa 100644
--- a/modules/gdnavigation/navigation_mesh_editor_plugin.cpp
+++ b/modules/gdnavigation/navigation_mesh_editor_plugin.cpp
@@ -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() {