aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/navigation_mesh.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-06-07 18:18:55 -0300
committerJuan Linietsky2017-06-07 18:20:04 -0300
commit5bf810b5db953d3f58acdd2d05d5410897f41d63 (patch)
tree15497d5b43527c997abb5c50bcba2675704431dc /scene/3d/navigation_mesh.cpp
parent5f5d629c8ad654fddbf17850c6fad2999d10daf7 (diff)
downloadgodot-5bf810b5db953d3f58acdd2d05d5410897f41d63.tar.gz
godot-5bf810b5db953d3f58acdd2d05d5410897f41d63.tar.zst
godot-5bf810b5db953d3f58acdd2d05d5410897f41d63.zip
Diffstat (limited to 'scene/3d/navigation_mesh.cpp')
-rw-r--r--scene/3d/navigation_mesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/navigation_mesh.cpp b/scene/3d/navigation_mesh.cpp
index 13fd852fe..82f6f665d 100644
--- a/scene/3d/navigation_mesh.cpp
+++ b/scene/3d/navigation_mesh.cpp
@@ -187,7 +187,7 @@ Ref<Mesh> NavigationMesh::get_debug_mesh() {
}
}
- debug_mesh = Ref<Mesh>(memnew(Mesh));
+ debug_mesh = Ref<ArrayMesh>(memnew(ArrayMesh));
Array arr;
arr.resize(Mesh::ARRAY_MAX);