diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-10 14:09:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-10 14:09:17 +0100 |
| commit | 9b597364737cbc04ccb5ee8e5c18bccb4dd31362 (patch) | |
| tree | 5e2cc8006e77d01596e323ad9bac586920fc080a /scene/3d/mesh_instance_3d.cpp | |
| parent | 90faf04f293fcdf636f641bfe3d88c5857695d9b (diff) | |
| parent | 6f51eca1e3045571ccc68414a922e8b0229111f0 (diff) | |
| download | redot-engine-9b597364737cbc04ccb5ee8e5c18bccb4dd31362.tar.gz | |
Merge pull request #58972 from reduz/expose-more-gdextension
Diffstat (limited to 'scene/3d/mesh_instance_3d.cpp')
| -rw-r--r-- | scene/3d/mesh_instance_3d.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scene/3d/mesh_instance_3d.cpp b/scene/3d/mesh_instance_3d.cpp index fddfa17dbb..31c33a6b61 100644 --- a/scene/3d/mesh_instance_3d.cpp +++ b/scene/3d/mesh_instance_3d.cpp @@ -219,18 +219,6 @@ AABB MeshInstance3D::get_aabb() const { return AABB(); } -Vector<Face3> MeshInstance3D::get_faces(uint32_t p_usage_flags) const { - if (!(p_usage_flags & (FACES_SOLID | FACES_ENCLOSING))) { - return Vector<Face3>(); - } - - if (mesh.is_null()) { - return Vector<Face3>(); - } - - return mesh->get_faces(); -} - Node *MeshInstance3D::create_trimesh_collision_node() { if (mesh.is_null()) { return nullptr; |
