Browse Source

Merge pull request #73512 from groud/fix_tilemap_dragging_selection

Fix TileMap dragging selection
Yuri Sizov 2 years ago
parent
commit
0c27edf3d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
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) {
 void EditorPluginList::add_plugin(EditorPlugin *p_plugin) {
+	ERR_FAIL_COND(plugins_list.has(p_plugin));
 	plugins_list.push_back(p_plugin);
 	plugins_list.push_back(p_plugin);
 }
 }