1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Edit TileMap only with TOOL_SELECT

This commit is contained in:
Tomasz Chabora
2019-08-21 15:34:06 +02:00
parent 48eaf14030
commit 9520d9706a
3 changed files with 8 additions and 2 deletions

View File

@@ -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) {