diff options
| author | Pieter-Jan Briers | 2018-02-17 11:58:07 +0100 |
|---|---|---|
| committer | PJB3005 | 2018-05-01 17:24:57 +0200 |
| commit | 20dd2204db11339dfcadacbee32675ca7f6490e5 (patch) | |
| tree | 8b7f375739e1e592f6adc8f457e7323a1c234248 /editor/plugins/tile_set_editor_plugin.cpp | |
| parent | b6a7c5693f13c40b381e5e6efa255fe723742311 (diff) | |
| download | godot-20dd2204db11339dfcadacbee32675ca7f6490e5.tar.gz godot-20dd2204db11339dfcadacbee32675ca7f6490e5.tar.zst godot-20dd2204db11339dfcadacbee32675ca7f6490e5.zip | |
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/tile_set_editor_plugin.cpp | 1 |
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()); } } |
