From d538fcd92d90e7aa9afe7e8ceeaa0defc8330800 Mon Sep 17 00:00:00 2001 From: Martin Rieke Date: Fri, 30 Mar 2018 15:47:46 +0200 Subject: 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. --- editor/plugins/tile_map_editor_plugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/plugins/tile_map_editor_plugin.h') 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; -- cgit v1.2.3-70-g09d2