2
0
Эх сурвалжийг харах

Don't re-query remote object while debugging every frame

geequlim 8 жил өмнө
parent
commit
21f2fff82e

+ 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;
 					}
 				}
 			}