Move storage for Mesh, MeshInstance, MultiMesh and Skeleton into MeshStorage

This commit is contained in:
Bastiaan Olij 2022-04-02 16:29:04 +11:00
parent 7bb963efe9
commit b8be7903f3
28 changed files with 3529 additions and 3100 deletions

View file

@ -5501,7 +5501,7 @@ TypedArray<Image> RendererSceneRenderRD::bake_render_uv2(RID p_base, const Vecto
GeometryInstance *gi = geometry_instance_create(p_base);
uint32_t sc = RSG::storage->mesh_get_surface_count(p_base);
uint32_t sc = RSG::mesh_storage->mesh_get_surface_count(p_base);
Vector<RID> materials;
materials.resize(sc);