diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-08 20:55:22 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-08-08 20:55:22 -0300 |
commit | 90a595ac4273dbf79809c810421f1f439c78e452 (patch) | |
tree | 365ce15ad643fc36fc44f81f99481f9d6b5b6dec /editor | |
parent | df573f5c3a76155842e43ea0dbab594e3944b114 (diff) |
Set some reasonable limits for sending information to the debugger, closes #5848
Diffstat (limited to 'editor')
-rw-r--r-- | editor/script_editor_debugger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index f4ed430d3d..45d2e54838 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -1595,6 +1595,7 @@ void ScriptEditorDebugger::_bind_methods() { ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) { ppeer = Ref<PacketPeerStream>(memnew(PacketPeerStream)); + ppeer->set_input_buffer_max_size(1024 * 1024 * 8); //8mb should be enough editor = p_editor; tabs = memnew(TabContainer); |