1
0
Fork 0

Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot

This commit is contained in:
Haoyu Qiu 2022-09-05 09:15:22 +08:00
parent e7a0a97c0b
commit 52f290ae4d
1 changed files with 1 additions and 0 deletions

View File

@ -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; }