mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@e1b4101e34
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user