summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2023-02-17 17:55:03 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2023-02-17 17:55:03 +0100
commit88f3d18bc65e7058c874199cc4b604f6632d66ea (patch)
tree6dc49265a976d60279835ad5a1dc30ea99ec9bec /editor
parent6212da66e859fff7f3522e67045eeb81fcad0296 (diff)
Fix TileMap dragging selection
Diffstat (limited to 'editor')
-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);
}