Fabio Alessandrelli
7536d15fe3
[MP] Let MultiplayerAPI handle packet relaying and peer signaling.
...
MultiplayerPeer changes:
- Adds is_server_relay_supported virtual method
Informs the upper MultiplayerAPI layer if it can signal peers connected
to the server to other clients, and perform packet relaying among them.
- Adds get_packet_channel and get_packet_mode virtual methods
Allows the MultiplayerAPI to retrieve the channel and transfer modes to
use when relaying the last received packet.
SceneMultiplayerPeer changes:
- Implement peer signaling and packet relaying when the MultiplayerPeer
advertise they are supported.
ENet, WebRTC, WebSocket changes:
- Removed custom code for relaying from WebSocket and ENet, and let it
be handled by the upper layer.
- Update WebRTC to split create_client, create_server, and create_mesh,
with the latter behaving like the old initialize with
"server_compatibility = false", and the first two supporting the upper
layer relaying protocol.
2022-10-27 18:08:58 +02:00
Bastiaan Olij
91945c3077
Change default OpenXR pose to aim pose
2022-10-28 01:56:06 +11:00
Sam Briels
815231943b
Emit target_reached signal after state is updated
2022-10-27 14:05:43 +02:00
bruvzg
ec3c4fcba9
Do not auto add default script and country codes to the locale.
2022-10-27 09:31:05 +03:00
Michael Alexsander
fb8588e68e
Fix problems with tab_changed
signal when removing multiple tabs at once
2022-10-27 03:16:01 -03:00
Clay John
03e5de37ae
Merge pull request #67912 from RevoluPowered/fix-exeception-bad-access
...
Fix EXE_BAD_ACCESS caused by optional argument
2022-10-26 23:06:22 -07:00
Rindbee
c77349ecb7
Fix calling _call_shortcut_input
on a node that has been removed
...
Nodes may have been deleted by shortcuts. For example, when switching
scenes with `Ctrl` + `Tab` / `Ctrl` + `Shift` + `Tab`, some controls
will be deleted and recreated.
2022-10-27 14:05:51 +08:00
Haoyu Qiu
e4100495b5
Make NavigationAgent target_location
a property
2022-10-27 13:51:38 +08:00
Hugo Locurcio
7d7b4210f6
Document the Vector3 and Vector4i classes
2022-10-27 02:50:37 +02:00
Clay John
06cad89060
Merge pull request #67905 from alfredbaudisch/vs-operand-aliases-dev
...
Add math operators to Visual Shader node names for easier and simpler searching
2022-10-26 12:18:43 -07:00
Gordon MacPherson
381d457a2a
Ensure vulkan subgroups are disabled for MoltenVK
...
We found they don't work on intel macbooks properly at all.
Possible future solutions:
- update to moltenvk.
- update to spirv may resolve it.
2022-10-26 20:12:06 +01:00
Hugo Locurcio
82a575dff4
Fix DisplayServer.has_feature()
claiming X11 has native icon support
...
Native icons are not supported by the X11 DisplayServer, unlike
Windows and macOS.
2022-10-26 20:39:31 +02:00
Gordon MacPherson
56df8d5f19
Fix EXE_BAD_ACCESS caused by optional argument
...
This argument is now non optional, but this never hits the same bad access.
I voted to simplify the code here since the argument is never used optionally in our codebase.
2022-10-26 19:33:35 +01:00
Hugo Locurcio
16ba235e0a
Document the ENetPacketPeer class
2022-10-26 19:40:18 +02:00
clayjohn
020ac29fc3
Correctly rename to read_model_matrix when using shader builtins that rely on model matrix
2022-10-26 09:45:35 -07:00
Alfred Reinold Baudisch
46f2a1674d
Add math operators to Visual Shader node names
...
This change makes it easy, in the "Create Shader Node" dialog, to search for VS nodes by just typing the operator. For example, instead of typing "multiply", you can just type "*" and multiply nodes will be listed.
This feature is inspired by Unreal Engine node graph editor's UX.
Implements and closes https://github.com/godotengine/godot-proposals/issues/5663
2022-10-26 17:36:19 +02:00
kobewi
c7eb814ede
Remove override_selected_font_color property
2022-10-26 12:59:18 +02:00
bruvzg
4a6d39c6b9
Fix TextLine
and TextParagraph
get_*_object_rect
methods not accounting for alignment and drop cap.
2022-10-26 10:46:08 +03:00
bruvzg
4dd8f68120
Fix build with Vulkan disabled and no Vulkan headers installed.
2022-10-26 08:55:05 +03:00
MrBlockers
92ebbf2c0a
Fix multiple issues with region editor
...
Make the filter mode of the texture preview match the node/resource
being edited where applicable, and nearest neighbor with mipmaps as a
fallback.
Make the Edit Region button for Sprite3D only appear when region is
enabled, to match behavior of Sprite2D.
Fix the editor not correctly clearing reference to previously edited
resources, resulting in a visual bug displaying the incorrect texture.
2022-10-25 18:23:23 -04:00
clayjohn
3d28cb3cd3
Correctly set number of particle dispatches when setting view axis
2022-10-25 12:05:40 -07:00
Yuri Rubinsky
2b505b74b9
Merge pull request #67431 from Chaosus/vs_fix_nodes_code
2022-10-25 20:38:24 +03:00
Max Hilbrunner
69e5ad7f09
Merge pull request #67098 from Calinou/doc-light-no-scale
...
Document (Omni/Spot)Light3D ignoring Node3D's `scale` property
2022-10-25 14:31:07 +02:00
Max Hilbrunner
035b5b76a0
Merge pull request #67833 from Calinou/doc-animation
...
Document the Animation class
2022-10-25 14:29:12 +02:00
Max Hilbrunner
bb77342c07
Merge pull request #67843 from Calinou/doc-csgshape3d
...
Document `collision_priority` in the CSGShape3D class
2022-10-25 14:26:47 +02:00
Max Hilbrunner
1425b4ee09
Merge pull request #67841 from Calinou/doc-basematerial3d
...
Document the BaseMaterial3D class
2022-10-25 14:23:36 +02:00
Max Hilbrunner
9e509caa8b
Merge pull request #67858 from TechnoPorg/fix-upnp-docs
...
Fix Thread usage in UPNP docs.
2022-10-25 14:22:23 +02:00
Max Hilbrunner
d49ef5fea8
Merge pull request #67768 from Calinou/doc-debanding
...
Document debanding only affecting 3D rendering by default
2022-10-25 14:15:47 +02:00
Max Hilbrunner
3b2f8052fb
Merge pull request #67848 from Calinou/doc-canvastexture
...
Document the CanvasTexture class
2022-10-25 14:15:07 +02:00
Eric M
d499071e5b
Set the shortcut context for the edit/search/goto menus to the ScriptEditor so that shortcuts continue to work when FindReplaceBar is focused.
2022-10-25 19:52:42 +10:00
Yuri Rubinsky
32997a5b9d
Merge pull request #67823 from Chaosus/fix_image_crash
2022-10-25 10:50:33 +03:00
Yuri Rubinsky
9e04531938
Fix enum type to use int64_t instead of int in GDScript
2022-10-25 09:06:08 +03:00
Ian Gaither
3bfac8f0c3
Update TextLine.xml
2022-10-24 20:43:28 -07:00
TechnoPorg
4c06237b93
Fix Thread usage in UPNP docs.
...
The threading API has changed between Godot 3 and Godot 4.
See https://github.com/godotengine/godot-proposals/issues/4691 .
2022-10-24 17:23:33 -06:00
Marc Gilleron
7543a5e014
Rename queue_delete => queue_free
...
# Conflicts:
# editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-24 22:07:02 +01:00
Hugo Locurcio
d5ded67458
Document the CanvasTexture class
2022-10-24 21:57:58 +02:00
Wei Guo
d0edd36f80
Fix built-in script path of GDScript
2022-10-25 03:41:18 +08:00
jbcolli2
24a3556bea
ArrayMesh unit tests
2022-10-24 15:15:05 -04:00
Clay John
c51a42778d
Merge pull request #67541 from RandomShaper/refactor_subgroup_ads
...
Let the RD driver itself expose subgroup caps
2022-10-24 12:02:06 -07:00
Hugo Locurcio
185695dda9
Document (Omni/Spot)Light3D ignoring Node3D's scale
property
2022-10-24 18:49:15 +02:00
Hugo Locurcio
df636ac881
Document collision_priority
in the CSGShape3D class
2022-10-24 18:44:30 +02:00
Hugo Locurcio
fb742cb16f
Document the BaseMaterial3D class
...
This makes the class 100% documented again.
2022-10-24 18:40:01 +02:00
Hugo Locurcio
9e7ec78c6b
Document the Animation class
2022-10-24 17:06:32 +02:00
Mark Riedesel
8f7ab02bc6
Handle closed splines in Collada importer
2022-10-24 09:35:09 -05:00
Hugo Locurcio
8777f38089
Document debanding only affecting 3D rendering by default
2022-10-24 16:18:59 +02:00
Markus Sauermann
5ee449efec
Remove unnecessary casts
...
button_add_item and button_add are both Button
p_parent is a Node3D
CanvasItem can never be cast to Viewport
2022-10-24 15:59:18 +02:00
Yuri Rubinsky
adec51cde8
Fix crash when calling fill
method on an empty Image
2022-10-24 11:28:10 +03:00
Wei Guo
d7e39e313b
Make window creation with custom position do not flash
2022-10-24 13:50:25 +08:00
Clay John
040f49ed6e
Merge pull request #67390 from groud/more_conservative_terrain_painting
...
Make terrain painting not change neighbors centers bits
2022-10-23 17:11:06 -07:00
Clay John
9be3fd640b
Merge pull request #67513 from Calinou/editor-light2d-fix-shadow-filter-smooth-visibility
...
Fix Light2D Shadow Filter Smooth property being visible with filter None
2022-10-23 17:03:07 -07:00