aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
diff options
context:
space:
mode:
authorJerome670002017-12-29 23:06:03 +0100
committerJérôme2018-01-03 13:02:26 +0100
commit42ae3525a3adfc9518361aab5625d7ff76e97623 (patch)
tree0b993bd9d2b174be583f83400bc115a651815806 /scene/2d/tile_map.cpp
parent99960d929435423b25e9bfb55051af60edbfcca9 (diff)
downloadgodot-42ae3525a3adfc9518361aab5625d7ff76e97623.tar.gz
godot-42ae3525a3adfc9518361aab5625d7ff76e97623.tar.zst
godot-42ae3525a3adfc9518361aab5625d7ff76e97623.zip
#15078 renamed "z" -> "z_index" property in Node2D
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 a83c1c1ca..2cd0164e1 100644
--- a/scene/2d/tile_map.cpp
+++ b/scene/2d/tile_map.cpp
@@ -336,7 +336,7 @@ void TileMap::_update_dirty_quadrants() {
debug_canvas_item = vs->canvas_item_create();
vs->canvas_item_set_parent(debug_canvas_item, canvas_item);
vs->canvas_item_set_z_as_relative_to_parent(debug_canvas_item, false);
- vs->canvas_item_set_z(debug_canvas_item, VS::CANVAS_ITEM_Z_MAX - 1);
+ vs->canvas_item_set_z_index(debug_canvas_item, VS::CANVAS_ITEM_Z_MAX - 1);
q.canvas_items.push_back(debug_canvas_item);
prev_debug_canvas_item = debug_canvas_item;
}