mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Correct size for PacketPeerStream in Debugger.
We wanted 8 MiB but we were getting 16 MiB (minus 4 bytes for the separator). We are now getting 8 MiB minus 4 bytes for encoding.
This commit is contained in:
parent
78f1513928
commit
f8f5696394
2 changed files with 2 additions and 2 deletions
|
@ -2247,7 +2247,7 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
|
|||
add_constant_override("margin_right", -EditorNode::get_singleton()->get_gui_base()->get_stylebox("BottomPanelDebuggerOverride", "EditorStyles")->get_margin(MARGIN_RIGHT));
|
||||
|
||||
ppeer = Ref<PacketPeerStream>(memnew(PacketPeerStream));
|
||||
ppeer->set_input_buffer_max_size(1024 * 1024 * 8); //8mb should be enough
|
||||
ppeer->set_input_buffer_max_size((1024 * 1024 * 8) - 4); // 8 MiB should be enough, minus 4 bytes for separator.
|
||||
editor = p_editor;
|
||||
editor->get_inspector()->connect("object_id_selected", this, "_scene_tree_property_select_object");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue