You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Merge pull request #7311 from bojidar-bg/quad-leak
Fix a Quad node mesh data leak
This commit is contained in:
@@ -230,3 +230,7 @@ Quad::Quad() {
|
|||||||
configured=false;
|
configured=false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Quad::~Quad() {
|
||||||
|
VisualServer::get_singleton()->free(mesh);
|
||||||
|
}
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ public:
|
|||||||
virtual AABB get_aabb() const;
|
virtual AABB get_aabb() const;
|
||||||
|
|
||||||
Quad();
|
Quad();
|
||||||
|
~Quad();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user