diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-08-21 21:18:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-21 21:18:39 +0200 |
| commit | 3bd49dabfa909187d514e018ff7c60339e343c71 (patch) | |
| tree | b0f03003141cc5ad944f25a582cafa829eb0dce0 /editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | 22df2b79b6a6ec2114108c7f7058719d643c1a48 (diff) | |
| parent | 9520d9706aa2ea985e3542f77adea623fa408f14 (diff) | |
Merge pull request #31535 from KoBeWi/TileMove
Edit TileMap only with TOOL_SELECT
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index cc707dbf44..5942e8e5f2 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -3321,6 +3321,10 @@ void CanvasItemEditor::update_viewport() { viewport->update(); } +void CanvasItemEditor::set_current_tool(Tool p_tool) { + _button_tool_select(p_tool); +} + void CanvasItemEditor::_notification(int p_what) { if (p_what == NOTIFICATION_PHYSICS_PROCESS) { |