You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -43,7 +43,7 @@ Error MeshDataTool::create_from_surface(const Ref<ArrayMesh> &p_mesh, int p_surf
|
||||
ERR_FAIL_COND_V(p_mesh->surface_get_primitive_type(p_surface) != Mesh::PRIMITIVE_TRIANGLES, ERR_INVALID_PARAMETER);
|
||||
|
||||
Array arrays = p_mesh->surface_get_arrays(p_surface);
|
||||
ERR_FAIL_COND_V(arrays.empty(), ERR_INVALID_PARAMETER);
|
||||
ERR_FAIL_COND_V(arrays.is_empty(), ERR_INVALID_PARAMETER);
|
||||
|
||||
Vector<Vector3> varray = arrays[Mesh::ARRAY_VERTEX];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user