Merge pull request #65347 from timothyqiu/dummy-skin
Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot
This commit is contained in:
commit
f9b89bd85f
|
@ -81,6 +81,7 @@ public:
|
||||||
s->vertex_count = p_surface.vertex_count;
|
s->vertex_count = p_surface.vertex_count;
|
||||||
s->index_data = p_surface.index_data;
|
s->index_data = p_surface.index_data;
|
||||||
s->index_count = p_surface.index_count;
|
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; }
|
virtual int mesh_get_blend_shape_count(RID p_mesh) const override { return 0; }
|
||||||
|
|
Loading…
Reference in New Issue