diff options
| author | Martin Rieke | 2018-03-30 15:47:46 +0200 |
|---|---|---|
| committer | Martin Rieke | 2018-04-04 09:23:56 +0200 |
| commit | d538fcd92d90e7aa9afe7e8ceeaa0defc8330800 (patch) | |
| tree | 768d045999c6d5ed3709d990f16d443e29539920 /editor/plugins/tile_map_editor_plugin.h | |
| parent | b61021d34fd453799e278eaeee8346d0587516ac (diff) | |
| download | godot-d538fcd92d90e7aa9afe7e8ceeaa0defc8330800.tar.gz godot-d538fcd92d90e7aa9afe7e8ceeaa0defc8330800.tar.zst godot-d538fcd92d90e7aa9afe7e8ceeaa0defc8330800.zip | |
Add functionality to move selected tiles in tile map editor
This change adds a new entry "Move Selection" to the "Tile Map"
menu in the tile map editor. It allows the user to easily move
as set of selected tiles.
Diffstat (limited to '')
| -rw-r--r-- | editor/plugins/tile_map_editor_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.h b/editor/plugins/tile_map_editor_plugin.h index 2d582d030..3257901c8 100644 --- a/editor/plugins/tile_map_editor_plugin.h +++ b/editor/plugins/tile_map_editor_plugin.h @@ -61,6 +61,7 @@ class TileMapEditor : public VBoxContainer { TOOL_BUCKET, TOOL_PICKING, TOOL_DUPLICATING, + TOOL_MOVING }; enum Options { @@ -72,6 +73,7 @@ class TileMapEditor : public VBoxContainer { OPTION_ERASE_SELECTION, OPTION_PAINTING, OPTION_FIX_INVALID, + OPTION_MOVE }; TileMap *node; |
