summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-02-17 23:41:56 +0300
committerGitHub <noreply@github.com>2023-02-17 23:41:56 +0300
commit0c27edf3d971bd3accffbaee5c57da33d0549284 (patch)
treee6fd49b475891d54b9c86263adbdada7417c3836
parent24344de4f5baf7b5d4d459d7a2918e1ff635006f (diff)
parent88f3d18bc65e7058c874199cc4b604f6632d66ea (diff)
Merge pull request #73512 from groud/fix_tilemap_dragging_selection
Fix TileMap dragging selection
-rw-r--r--editor/editor_node.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}