aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2018-05-01 18:02:16 +0200
committerGitHub2018-05-01 18:02:16 +0200
commit1fa3d7678245538bde589dbe3913b69f7120bfd1 (patch)
tree9a3b20da68488af3be9880880b55a9d13ff45429 /editor/plugins/tile_set_editor_plugin.cpp
parent85c8953c9fec5dd4d9566d67f029299f22df80b7 (diff)
parent20dd2204db11339dfcadacbee32675ca7f6490e5 (diff)
downloadgodot-1fa3d7678245538bde589dbe3913b69f7120bfd1.tar.gz
godot-1fa3d7678245538bde589dbe3913b69f7120bfd1.tar.zst
godot-1fa3d7678245538bde589dbe3913b69f7120bfd1.zip
Merge pull request #16771 from PJB3005/18-02-17-tileset-z-index
Adds z-index properties to TileSets.
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index 41692e805..7c40eb5c4 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -149,6 +149,7 @@ void TileSetEditor::_import_node(Node *p_node, Ref<TileSet> p_library) {
p_library->tile_set_light_occluder(id, occluder);
p_library->tile_set_occluder_offset(id, -phys_offset);
p_library->tile_set_navigation_polygon_offset(id, -phys_offset);
+ p_library->tile_set_z_index(id, mi->get_z_index());
}
}