diff options
| author | Rémi Verschelde | 2018-05-01 18:02:16 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-01 18:02:16 +0200 |
| commit | 1fa3d7678245538bde589dbe3913b69f7120bfd1 (patch) | |
| tree | 9a3b20da68488af3be9880880b55a9d13ff45429 /editor/plugins/tile_set_editor_plugin.cpp | |
| parent | 85c8953c9fec5dd4d9566d67f029299f22df80b7 (diff) | |
| parent | 20dd2204db11339dfcadacbee32675ca7f6490e5 (diff) | |
| download | godot-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.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()); } } |
