You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
return integer for set_output_buffer_max_size() & set_input_buffer_max_size(int)
This commit is contained in:
@@ -1150,7 +1150,7 @@ ScriptDebuggerRemote::ScriptDebuggerRemote() {
|
||||
tcp_client = StreamPeerTCP::create_ref();
|
||||
packet_peer_stream = Ref<PacketPeerStream>(memnew(PacketPeerStream));
|
||||
packet_peer_stream->set_stream_peer(tcp_client);
|
||||
packet_peer_stream->set_input_buffer_max_size(pow(2, 20));
|
||||
packet_peer_stream->set_input_buffer_max_size(1024 * 1024 * 1);
|
||||
mutex = Mutex::create();
|
||||
locking = false;
|
||||
|
||||
|
||||
@@ -1720,7 +1720,7 @@ void ScriptEditorDebugger::_bind_methods() {
|
||||
ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
|
||||
|
||||
ppeer = Ref<PacketPeerStream>(memnew(PacketPeerStream));
|
||||
ppeer->set_input_buffer_max_size(pow(2, 20));
|
||||
ppeer->set_input_buffer_max_size(1024 * 1024 * 1);
|
||||
|
||||
editor = p_editor;
|
||||
editor->get_property_editor()->connect("object_id_selected", this, "_scene_tree_property_select_object");
|
||||
|
||||
Reference in New Issue
Block a user