From 88f3d18bc65e7058c874199cc4b604f6632d66ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilles=20Roudi=C3=A8re?= Date: Fri, 17 Feb 2023 17:55:03 +0100 Subject: Fix TileMap dragging selection --- editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index a0e876315c..b854da8e4f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -8116,6 +8116,7 @@ void EditorPluginList::forward_3d_force_draw_over_viewport(Control *p_overlay) { } void EditorPluginList::add_plugin(EditorPlugin *p_plugin) { + ERR_FAIL_COND(plugins_list.has(p_plugin)); plugins_list.push_back(p_plugin); } -- cgit v1.2.3