summaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.h
diff options
context:
space:
mode:
authorMrCdK <contact@mrcdk.com>2019-02-20 12:27:53 +0100
committerMrCdK <contact@mrcdk.com>2019-02-20 12:27:53 +0100
commit7827c2fd570bb7198793f89a1f9a167e80ba236b (patch)
tree38e8c3f6488d0501e6543d67d3afbe6e1d850634 /editor/plugins/tile_set_editor_plugin.h
parentf41439c84b206067adeea9c97eaf87fb264ee682 (diff)
Added a create rectangle button to the tileset editor.
It makes easier to create collision shapes covering the full tile.
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.h')
-rw-r--r--editor/plugins/tile_set_editor_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.h b/editor/plugins/tile_set_editor_plugin.h
index 1a6b51cdd3..6bbfee8714 100644
--- a/editor/plugins/tile_set_editor_plugin.h
+++ b/editor/plugins/tile_set_editor_plugin.h
@@ -81,6 +81,7 @@ class TileSetEditor : public HSplitContainer {
BITMASK_PASTE,
BITMASK_CLEAR,
SHAPE_NEW_POLYGON,
+ SHAPE_NEW_RECTANGLE,
SHAPE_DELETE,
SHAPE_KEEP_INSIDE_TILE,
TOOL_GRID_SNAP,