Merge pull request #65347 from timothyqiu/dummy-skin

Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot
This commit is contained in:
Rémi Verschelde 2022-09-05 08:27:43 +02:00
commit f9b89bd85f
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; }