summaryrefslogtreecommitdiff
path: root/servers/rendering/dummy
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-09-05 09:15:22 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-09-05 09:15:22 +0800
commit52f290ae4d3a88c5755c4efd7595a25391ce5d97 (patch)
treece9c989a4842572c94846e239d7d1edc95eb4872 /servers/rendering/dummy
parente7a0a97c0bc5d86644e62d537503e3b05313a01c (diff)
Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot
Diffstat (limited to 'servers/rendering/dummy')
-rw-r--r--servers/rendering/dummy/storage/mesh_storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/dummy/storage/mesh_storage.h b/servers/rendering/dummy/storage/mesh_storage.h
index 1eb4fd854f..336049852d 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; }