mirror of
https://github.com/godotengine/godot.git
synced 2025-02-08 20:01:05 +00:00
Fix #7303, Quad node mesh data leak
This commit is contained in:
parent
afbe013ba1
commit
7504a015aa
@ -230,3 +230,7 @@ Quad::Quad() {
|
||||
configured=false;
|
||||
|
||||
}
|
||||
|
||||
Quad::~Quad() {
|
||||
VisualServer::get_singleton()->free(mesh);
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ public:
|
||||
virtual AABB get_aabb() const;
|
||||
|
||||
Quad();
|
||||
~Quad();
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user