From 52f290ae4d3a88c5755c4efd7595a25391ce5d97 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Mon, 5 Sep 2022 09:15:22 +0800 Subject: [PATCH] Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot --- servers/rendering/dummy/storage/mesh_storage.h | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/rendering/dummy/storage/mesh_storage.h b/servers/rendering/dummy/storage/mesh_storage.h index 1eb4fd854f1..336049852df 100644 --- a/servers/rendering/dummy/storage/mesh_storage.h +++ b/servers/rendering/dummy/storage/mesh_storage.h @@ -81,6 +81,7 @@ public: s->vertex_count = p_surface.vertex_count; s->index_data = p_surface.index_data; s->index_count = p_surface.index_count; + s->skin_data = p_surface.skin_data; } virtual int mesh_get_blend_shape_count(RID p_mesh) const override { return 0; }