From c23ddb5c5a5d6d738b8fe808a2a203ee539e672a Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Tue, 30 Jan 2024 21:49:34 -0500 Subject: [PATCH] Fixes to the MeshRenderer --- source/funkin/graphics/rendering/MeshRender.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/funkin/graphics/rendering/MeshRender.hx b/source/funkin/graphics/rendering/MeshRender.hx index 6a781beae..a06d53337 100644 --- a/source/funkin/graphics/rendering/MeshRender.hx +++ b/source/funkin/graphics/rendering/MeshRender.hx @@ -97,6 +97,8 @@ class MeshRender extends FlxStrip { vertices.length = 0; indices.length = 0; + uvtData.length = 0; + colors.length = 0; vertex_count = 0; index_count = 0; }