You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix GridMap getter of baked meshes.
This commit is contained in:
@@ -122,7 +122,7 @@ bool GridMap::_get(const StringName &p_name, Variant &r_ret) const {
|
||||
Array ret;
|
||||
ret.resize(baked_meshes.size());
|
||||
for (int i = 0; i < baked_meshes.size(); i++) {
|
||||
ret.push_back(baked_meshes[i].mesh);
|
||||
ret[i] = baked_meshes[i].mesh;
|
||||
}
|
||||
r_ret = ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user