Procházet zdrojové kódy

Fix a node reparenting warning in the editor debugger

Yuri Sizov před 3 roky
rodič
revize
b89cf4dcf9
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      editor/debugger/script_editor_debugger.cpp

+ 0 - 1
editor/debugger/script_editor_debugger.cpp

@@ -1778,7 +1778,6 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
 		inspector->register_text_enter(search);
 		inspector->set_use_filter(true);
 		inspector_vbox->add_child(inspector);
-		sc->add_child(inspector);
 
 		breakpoints_tree = memnew(Tree);
 		breakpoints_tree->set_h_size_flags(SIZE_EXPAND_FILL);