mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Set some reasonable limits for sending information to the debugger, closes #5848
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user