Merge pull request #7311 from bojidar-bg/quad-leak
Fix a Quad node mesh data leak
This commit is contained in:
commit
6d6ec54093
|
@ -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