diff options
| author | Carl Olsson | 2015-02-15 18:00:55 +1000 |
|---|---|---|
| committer | Carl Olsson | 2015-02-15 18:00:55 +1000 |
| commit | e2c8aecb3d65cacb7695316257ecd0ec90c91871 (patch) | |
| tree | 904eec47c20e99512590b4b4419f8e2056324c54 /tools/editor/plugins/tile_map_editor_plugin.h | |
| parent | 2185c018f6593e6d64b2beb62202d2291e2e008e (diff) | |
| download | godot-e2c8aecb3d65cacb7695316257ecd0ec90c91871.tar.gz godot-e2c8aecb3d65cacb7695316257ecd0ec90c91871.tar.zst godot-e2c8aecb3d65cacb7695316257ecd0ec90c91871.zip | |
Better 2D Snapping
Consolidated duplicate snapping functions into CanvasItemEditor.
Allow non-square grids.
Add grid origin offsets.
Allow seperate toggling of grid display.
Add rotation snapping.
Add offset snapping.
Diffstat (limited to 'tools/editor/plugins/tile_map_editor_plugin.h')
| -rw-r--r-- | tools/editor/plugins/tile_map_editor_plugin.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/editor/plugins/tile_map_editor_plugin.h b/tools/editor/plugins/tile_map_editor_plugin.h index f3c590e22..4fd252516 100644 --- a/tools/editor/plugins/tile_map_editor_plugin.h +++ b/tools/editor/plugins/tile_map_editor_plugin.h @@ -109,7 +109,6 @@ protected: public: HBoxContainer *get_canvas_item_editor_hb() const { return canvas_item_editor_hb; } - Vector2 snap_point(const Vector2& p_point) const; bool forward_input_event(const InputEvent& p_event); void edit(Node *p_tile_map); TileMapEditor(EditorNode *p_editor); |
