This commit is contained in:
Spartan322
2025-07-01 06:19:10 -04:00
627 changed files with 158460 additions and 3719 deletions

View File

@@ -1733,7 +1733,7 @@ Dictionary RenderingServer::mesh_surface_get_lods(RID p_mesh, int p_surface) con
const uint16_t *rptr = (const uint16_t *)r;
int *w = lods.ptrw();
for (uint32_t j = 0; j < lc; j++) {
w[j] = rptr[i];
w[j] = rptr[j];
}
} else {
uint32_t lc = sd.lods[i].index_data.size() / 4;
@@ -1742,7 +1742,7 @@ Dictionary RenderingServer::mesh_surface_get_lods(RID p_mesh, int p_surface) con
const uint32_t *rptr = (const uint32_t *)r;
int *w = lods.ptrw();
for (uint32_t j = 0; j < lc; j++) {
w[j] = rptr[i];
w[j] = rptr[j];
}
}