feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -51,7 +51,7 @@ void NavigationMesh::create_from_mesh(const Ref<Mesh> &p_mesh) {
|
|||
|
||||
Vector<Vector3> varr = arr[Mesh::ARRAY_VERTEX];
|
||||
Vector<int> iarr = arr[Mesh::ARRAY_INDEX];
|
||||
if (varr.size() == 0 || iarr.size() == 0) {
|
||||
if (varr.is_empty() || iarr.is_empty()) {
|
||||
WARN_PRINT("A mesh surface was skipped when creating a NavigationMesh due to an empty vertex or index array.");
|
||||
continue;
|
||||
}
|
||||
|
|
@ -398,7 +398,7 @@ Ref<ArrayMesh> NavigationMesh::get_debug_mesh() {
|
|||
debug_mesh->clear_surfaces();
|
||||
}
|
||||
|
||||
if (vertices.size() == 0) {
|
||||
if (vertices.is_empty()) {
|
||||
return debug_mesh;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue