You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Renamed NavigationMeshInstance to NavigationRegion
This commit is contained in:
@@ -84,7 +84,7 @@ void NavigationMeshEditor::_clear_pressed() {
|
||||
}
|
||||
}
|
||||
|
||||
void NavigationMeshEditor::edit(NavigationMeshInstance *p_nav_mesh_instance) {
|
||||
void NavigationMeshEditor::edit(NavigationRegion *p_nav_mesh_instance) {
|
||||
|
||||
if (p_nav_mesh_instance == NULL || node == p_nav_mesh_instance) {
|
||||
return;
|
||||
@@ -128,12 +128,12 @@ NavigationMeshEditor::~NavigationMeshEditor() {
|
||||
|
||||
void NavigationMeshEditorPlugin::edit(Object *p_object) {
|
||||
|
||||
navigation_mesh_editor->edit(Object::cast_to<NavigationMeshInstance>(p_object));
|
||||
navigation_mesh_editor->edit(Object::cast_to<NavigationRegion>(p_object));
|
||||
}
|
||||
|
||||
bool NavigationMeshEditorPlugin::handles(Object *p_object) const {
|
||||
|
||||
return p_object->is_class("NavigationMeshInstance");
|
||||
return p_object->is_class("NavigationRegion");
|
||||
}
|
||||
|
||||
void NavigationMeshEditorPlugin::make_visible(bool p_visible) {
|
||||
|
||||
Reference in New Issue
Block a user