aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson2017-11-24 13:20:23 +0700
committerGitHub2017-11-24 13:20:23 +0700
commit0b93d0676d65a327a341ed503d95ea17526f07bc (patch)
tree88589d24c219f34ffb29b0036a8c6871fba2632f /scene/2d/tile_map.cpp
parent6086252f66ac185b97b0580352383e4b068b9fe5 (diff)
parente967dbca6fee2996c71593a1e7ea0221f3c41411 (diff)
downloadgodot-0b93d0676d65a327a341ed503d95ea17526f07bc.tar.gz
godot-0b93d0676d65a327a341ed503d95ea17526f07bc.tar.zst
godot-0b93d0676d65a327a341ed503d95ea17526f07bc.zip
Merge pull request #13231 from endragor/tile-bindings-fix
Fix TileMap and TileSet ClassDB bindings
Diffstat (limited to 'scene/2d/tile_map.cpp')
-rw-r--r--scene/2d/tile_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp
index f8bc27ccf..2329ce864 100644
--- a/scene/2d/tile_map.cpp
+++ b/scene/2d/tile_map.cpp
@@ -1500,7 +1500,7 @@ void TileMap::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_occluder_light_mask", "mask"), &TileMap::set_occluder_light_mask);
ClassDB::bind_method(D_METHOD("get_occluder_light_mask"), &TileMap::get_occluder_light_mask);
- ClassDB::bind_method(D_METHOD("set_cell", "x", "y", "tile", "flip_x", "flip_y", "transpose"), &TileMap::set_cell, DEFVAL(false), DEFVAL(false), DEFVAL(false));
+ ClassDB::bind_method(D_METHOD("set_cell", "x", "y", "tile", "flip_x", "flip_y", "transpose", "autotile_coord"), &TileMap::set_cell, DEFVAL(false), DEFVAL(false), DEFVAL(false), DEFVAL(Vector2()));
ClassDB::bind_method(D_METHOD("set_cellv", "position", "tile", "flip_x", "flip_y", "transpose"), &TileMap::set_cellv, DEFVAL(false), DEFVAL(false), DEFVAL(false));
ClassDB::bind_method(D_METHOD("get_cell", "x", "y"), &TileMap::get_cell);
ClassDB::bind_method(D_METHOD("get_cellv", "position"), &TileMap::get_cellv);