You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
fixes the lods array returned by mesh_get_surface
This commit is contained in:
@@ -2034,7 +2034,7 @@ Dictionary RenderingServer::_mesh_get_surface(RID p_mesh, int p_idx) {
|
||||
Dictionary ld;
|
||||
ld["edge_length"] = sd.lods[i].edge_length;
|
||||
ld["index_data"] = sd.lods[i].index_data;
|
||||
lods.push_back(lods);
|
||||
lods.push_back(ld);
|
||||
}
|
||||
d["lods"] = lods;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user