Commit graph

40311 commits

Author SHA1 Message Date
Jordan Schidlowsky
397d895fb7 [Net] ENetMultiplayerPeer now sends fragmented packets unreliably too.
It used to always send them reliably when transfer mode was unreliable
or ordered if the packet size was more then the enet host MTU (1400
bytes by default).

This commit also adds a warning when debug is enabled to explain the
effects of sending fragmented packets unreliably.
2021-12-15 14:03:42 +01:00
Rémi Verschelde
de8348a9b3
Merge pull request #55903 from Chaosus/shader_struct 2021-12-15 13:07:48 +01:00
Rémi Verschelde
864ccb5776
Merge pull request #55913 from Chaosus/fix_shader_crash 2021-12-15 13:07:34 +01:00
Rémi Verschelde
7f97f40eb6
Merge pull request #55927 from pycbouh/editor-add-theme-type-communication 2021-12-15 13:01:09 +01:00
Rémi Verschelde
815bc082e8
Merge pull request #55951 from Chaosus/shader_hint_aniso 2021-12-15 12:53:59 +01:00
Rémi Verschelde
703a1be507
Merge pull request #55952 from Faless/net/4.x_webrtc_mp_connect_fix 2021-12-15 12:38:10 +01:00
Rémi Verschelde
859549e136
Merge pull request #55905 from bruvzg/ts_substring_reshape 2021-12-15 11:53:53 +01:00
Fabio Alessandrelli
f9c05333ef
Merge pull request #55657 from MorganKF/patch-multiplayer-peer-extension
Patch `MultiplayerPeerExtension` to allow derived classes
2021-12-15 11:40:52 +01:00
Yuri Roubinsky
09185d76ac Rename shader hint filter_aniso to filter_anisotropy 2021-12-15 13:18:32 +03:00
Rémi Verschelde
681d00bd91
Merge pull request #55940 from Calinou/editor-spin-slider-tweak-grabber 2021-12-15 11:11:06 +01:00
Fabio Alessandrelli
84112d9610 [Net] Fix WebRTC returning packets from peers too early.
Due to the async nature of WebRTC implementations, the multiplayer peer
could end up having queued packets from a given connection before it is
able to emit the "peer_added" signal.
This commit ensures that packets from peers which are not notified yet
are skipped by `get_packet` and `get_available_packet_count`.
2021-12-15 11:07:46 +01:00
bruvzg
01bac2c469
[Text Server] Fix re-shaping of substrings, improve oversampling scale. 2021-12-15 11:57:22 +02:00
Max Hilbrunner
1930fc8b31
Merge pull request #55699 from Mickeon/patch-1
Various tweaks to Camera2D's documentation
2021-12-15 03:39:39 +01:00
Max Hilbrunner
e8e2865f88
Merge pull request #55935 from KoBeWi/get_minimum_size_not
Document get_minimum_size not called in some nodes
2021-12-15 03:33:15 +01:00
Max Hilbrunner
9d81bfea74
Merge pull request #55777 from cdemirer/doc-replace_by
Clarify that replace_by keeps child nodes in tree
2021-12-15 03:28:37 +01:00
Max Hilbrunner
494bbcff0b
Merge pull request #55831 from Calinou/doc-reflectionprobe
Improve the ReflectionProbe class documentation
2021-12-15 03:23:36 +01:00
Hugo Locurcio
02187727e3
Make EditorSpinSlider grabbers thicker to be more noticeable 2021-12-15 00:44:55 +01:00
Rémi Verschelde
f09d88443b
Merge pull request #55932 from xsellier/bugfix/fix-random-crash-on-launch 2021-12-14 22:51:36 +01:00
Xavier Sellier
ba0abd399f
Defer the call to 'popup_str' to the next cycle to let Godot Engine's editor time to properly start 2021-12-14 20:08:19 +01:00
Rémi Verschelde
7c716bf37c
Merge pull request #55936 from Calinou/portal-room-add-compatibility-classes 2021-12-14 20:05:30 +01:00
Hugo Locurcio
b6caa0587a
Add compatibility class handlers for portal and room occlusion culling
Portal and room occlusion culling is replaced by raster occlusion
in 4.0, which undergoes an entirely different setup process. Therefore,
we can only convert those nodes to Node3Ds to allow loading `3.x` scenes
while keeping transforms valid.
2021-12-14 18:45:28 +01:00
Rémi Verschelde
4601809c5a
Merge pull request #55931 from groud/avoid_crash_gdscript_analyzer 2021-12-14 18:44:17 +01:00
kobewi
7d5ee8f694 Document get_minimum_size not called in some nodes 2021-12-14 17:48:07 +01:00
Gilles Roudière
ab8119b5f6 Avoid a crash in the gdscript analyser 2021-12-14 15:54:25 +01:00
Rémi Verschelde
965a527775
Merge pull request #55924 from bruvzg/win_console_4 2021-12-14 15:44:43 +01:00
Yuri Sizov
dc858a8100 Improve user communication in the Add Item Type dialog 2021-12-14 17:00:15 +03:00
bruvzg
6ee48afb4e
[Windows] Open a new console window for the editor instances. 2021-12-14 14:49:58 +02:00
Yuri Roubinsky
3cbd8ef098 Fix shader crash when assigned array from struct to a variable by index 2021-12-13 21:19:13 +03:00
Rémi Verschelde
15aea89868
Merge pull request #55906 from Chaosus/vss_fix 2021-12-13 18:55:06 +01:00
Yuri Roubinsky
a2ef2b0be1 Fix incorrect placement of default value editor in visual scripts 2021-12-13 19:32:24 +03:00
Yuri Roubinsky
31cc6ba622 Allow declaring multiple members in one expression in shader structs 2021-12-13 19:10:08 +03:00
Rémi Verschelde
26510f4c90
Merge pull request #55609 from rcorre/doc-scroll 2021-12-13 15:21:50 +01:00
Rémi Verschelde
c03a5ba09c
Merge pull request #55898 from KoBeWi/nodes_from_faraway_lands 2021-12-13 14:48:25 +01:00
kobewi
bd6e9e0d6e Allow to copy foreign nodes 2021-12-13 13:33:06 +01:00
Rémi Verschelde
a5c14bd102
Merge pull request #55890 from Vitika9/54100 2021-12-13 12:06:00 +01:00
Rémi Verschelde
7b675da618
Merge pull request #55889 from Chaosus/fix_warning_duplication 2021-12-13 11:18:18 +01:00
vitika9
51501dadcc Added check for SceneTree being null 2021-12-13 15:41:29 +05:30
Yuri Roubinsky
566895732c Fix shadowed global identifier warning duplication 2021-12-13 11:54:23 +03:00
Rémi Verschelde
7f9a82b944
Merge pull request #52998 from AnilBK/node2d-renames
Node2D member renames.
2021-12-13 09:15:12 +01:00
Rémi Verschelde
6d58b968d5
Merge pull request #55821 from Chaosus/shader_fix_semicolon 2021-12-12 21:10:23 +01:00
Rémi Verschelde
f5aff3f9d1
Merge pull request #55825 from zaevi/fix_PluginConfigDialog_UI 2021-12-12 21:09:49 +01:00
Rémi Verschelde
ef1d59cf1b
Merge pull request #55816 from RandomShaper/fix_revert_null_defaults 2021-12-12 20:56:57 +01:00
Rémi Verschelde
dd869bd2a7
Merge pull request #55814 from williamd67/GPULightMapper-correct-colors 2021-12-12 20:56:11 +01:00
Rémi Verschelde
e8011be6f5
Merge pull request #55729 from cdemirer/fix-script-editor-unexpected-scroll-upon-resize 2021-12-12 20:54:53 +01:00
Rémi Verschelde
ece3b0dd61
Merge pull request #55836 from jabcross/asset-selectable 2021-12-12 18:34:41 +01:00
Hugo Locurcio
4cf55e80eb
Merge pull request #55828 from Calinou/doc-physics-angular-velocity-master 2021-12-12 16:39:02 +01:00
Rémi Verschelde
ad6652c08e
Merge pull request #55860 from rcorre/mesh_typo 2021-12-12 15:26:46 +01:00
Ryan Roden-Corrent
9d04086451
Document how to autoscroll ScrollContainer.
It is not uncommon to want to scroll to the most recently added child of
a ScrollContainer (e.g. a chat box or activity log). This is a little
tricky, since `ensure_control_visible` will not work on a node on the
same frame as you add it. Let's at least document that you need to wait
until the next frame.

Relates to https://github.com/godotengine/godot-proposals/issues/3629.

Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
2021-12-12 07:55:01 -05:00
Ryan Roden-Corrent
353617b202
Fix typo in create_outline error message. 2021-12-12 07:29:46 -05:00
Rémi Verschelde
03aaa1480d
Merge pull request #55852 from jmb462/fix-bad-tooltip-offset 2021-12-12 12:42:43 +01:00