소스 검색

Merge pull request #10044 from GodotExplorer/pr-fix-debugger-loop-inspect-remote-obj

Don't re-query remote object while debugging every frame
Rémi Verschelde 8 년 전
부모
커밋
6a07c98112
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      editor/script_editor_debugger.cpp

+ 2 - 0
editor/script_editor_debugger.cpp

@@ -997,6 +997,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
 							msg.push_back("inspect_object");
 							msg.push_back(inspected_object_id);
 							ppeer->put_var(msg);
+							inspected_object_id = 0;
 						}
 					}
 				}
@@ -1010,6 +1011,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
 						msg.push_back("inspect_object");
 						msg.push_back(inspected_object_id);
 						ppeer->put_var(msg);
+						inspected_object_id = 0;
 					}
 				}
 			}