1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix crash when edit remote object instance after debugger stoped

This commit is contained in:
geequlim
2017-09-03 00:47:45 +08:00
parent 1473e23df8
commit 29cd034e23
3 changed files with 16 additions and 2 deletions

View File

@@ -250,6 +250,10 @@ void ScriptEditorDebugger::debug_continue() {
ppeer->put_var(msg);
}
bool ScriptEditorDebugger::is_connected() const {
return connection.is_valid() && connection->is_connected();
}
void ScriptEditorDebugger::_scene_tree_folded(Object *obj) {
if (updating_scene_tree) {