diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-10 23:36:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 23:36:07 +0200 |
commit | efeb88b102f35a5e10f76b7dd9babd9f108dc474 (patch) | |
tree | 7235ea396bced2cf31d24a3117089a8a3a9898a0 /scene/resources/mesh.h | |
parent | c440bf82d64017270b86bcd9060e80a4beb3e4f9 (diff) | |
parent | 216ba4cc8b12d6f9c65a176b549f80cdc22ba114 (diff) |
Merge pull request #21907 from JFonS/concave_collision_gizmo
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
Diffstat (limited to 'scene/resources/mesh.h')
-rw-r--r-- | scene/resources/mesh.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h index 36bfca49f8..5ab28e9785 100644 --- a/scene/resources/mesh.h +++ b/scene/resources/mesh.h @@ -44,11 +44,10 @@ class Mesh : public Resource { GDCLASS(Mesh, Resource); mutable Ref<TriangleMesh> triangle_mesh; //cached + mutable Vector<Vector3> debug_lines; Size2 lightmap_size_hint; protected: - void _clear_triangle_mesh() const; - static void _bind_methods(); public: @@ -146,7 +145,7 @@ public: void set_lightmap_size_hint(const Vector2 &p_size); Size2 get_lightmap_size_hint() const; - void clear_cache(); + void clear_cache() const; Mesh(); }; |