mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Merge pull request #111745 from benbot/benbot/seems-wrong
Fix the LODs array returned by `mesh_get_surface`
This commit is contained in:
commit
fc985d7769
1 changed files with 1 additions and 1 deletions
|
@ -2034,7 +2034,7 @@ Dictionary RenderingServer::_mesh_get_surface(RID p_mesh, int p_idx) {
|
||||||
Dictionary ld;
|
Dictionary ld;
|
||||||
ld["edge_length"] = sd.lods[i].edge_length;
|
ld["edge_length"] = sd.lods[i].edge_length;
|
||||||
ld["index_data"] = sd.lods[i].index_data;
|
ld["index_data"] = sd.lods[i].index_data;
|
||||||
lods.push_back(lods);
|
lods.push_back(ld);
|
||||||
}
|
}
|
||||||
d["lods"] = lods;
|
d["lods"] = lods;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue