Commit Graph

48898 Commits

Author SHA1 Message Date
Fabio Alessandrelli
b19c1a2e4f [MP] New default multiplayer_peer acting as server.
Adds a OfflineMultiplayerPeer class which behaves like a server with no
connected peers.

Use OfflineMultiplayerPeer as default for SceneMultiplayer.

This means that the SceneTree will act as the multiplayer authority by
default.
Calls to is_server will return true, and calls to get_unique_id will
return TARGET_PEER_SERVER.
2022-11-20 14:17:20 +01:00
Rémi Verschelde
8aafcf9d2a
Merge pull request #68914 from rune-scape/rune-empty-editor-regression
GDScript: Fix empty text in editor
2022-11-20 11:44:41 +01:00
Rémi Verschelde
4a52fb828f
Merge pull request #68884 from dzil123/create_local_rendering_device_null_check_docs
RenderingServer::create_local_rendering_device - Add null check and update docs
2022-11-20 11:44:10 +01:00
Rémi Verschelde
d5d83eefd3
Merge pull request #66026 from aaronfranke/gltf-extension
Change the way GLTFDocumentExtension classes are registered
2022-11-20 11:44:05 +01:00
Rémi Verschelde
5ba216e428
Merge pull request #68861 from asmaloney/remove-break-after-return
Static analysis: remove "break" after "return"
2022-11-20 11:43:50 +01:00
Rémi Verschelde
3a874804ab
Merge pull request #68886 from timothyqiu/motion-distance
Revert move vector parameter name to "motion"
2022-11-20 11:43:32 +01:00
Rémi Verschelde
28c4a4a965
Merge pull request #68891 from Calinou/collision-exception-improve-error-message
Improve collision exception error messages for easier understanding
2022-11-20 11:43:22 +01:00
Rémi Verschelde
661d034be5
Merge pull request #68835 from Faless/mp/4.x_replication_debug
[MP] Initial Replication profiler.
2022-11-20 11:41:42 +01:00
Rémi Verschelde
8f00b79f23
Merge pull request #68879 from TokageItLab/fix-bezier-editor-focus-mode
Fix the behavior of focus selection in bezier editor
2022-11-20 11:36:16 +01:00
Rémi Verschelde
137327812b
Merge pull request #68876 from dzil123/renderdummy_texture_replace_null_check
RenderDummy::TextureStorage::texture_replace add missing null check
2022-11-20 11:36:04 +01:00
Rémi Verschelde
3a43d44656
Merge pull request #68830 from Ayush-singla27/issuebranch
fixed incorrect mesh normals in shaders
2022-11-20 11:35:52 +01:00
Rémi Verschelde
5b235e2e5e
Merge pull request #68859 from souplamp/capitalize-skeleton3d-editor-plugin
Capitalize Skeleton3D's editor plugin dropdown options
2022-11-20 11:35:38 +01:00
rune-scape
a6410878db Fix empty text in editor 2022-11-20 03:17:16 -05:00
dzil123
9ce9c959ab RenderingServer::create_local_rendering_device null check and docs
Co-authored-by: Clay John <claynjohn@gmail.com>
2022-11-19 16:31:05 -08:00
Hugo Locurcio
2a0afb1dcc
Improve collision exception error messages for easier understanding 2022-11-19 17:35:44 +01:00
Haoyu Qiu
42ab2b9ef5 Revert move vector parameter name to motion 2022-11-19 20:19:50 +08:00
Fabio Alessandrelli
f38e116026 [MP] Initial replication profiler.
Part of the current network profiler stack.
Tracks synchronizers, incoming/outgoing state sizes, and their
bandwidth usage.
2022-11-19 12:48:16 +01:00
Rémi Verschelde
895428c805
Merge pull request #68863 from clayjohn/RD-2D-skeleton
Fix drawing of 2D skeletons in the RD renderer.
2022-11-19 10:25:31 +01:00
Rémi Verschelde
52c51563fd
Merge pull request #68866 from raulsntos/dotnet/godot-enums
C#: Synchronize Godot enums with core
2022-11-19 09:40:05 +01:00
Rémi Verschelde
8fd2a24882
Merge pull request #68869 from timothyqiu/editor-plugins
Fix missing editor plugins
2022-11-19 09:36:21 +01:00
Silc Renew
3818be64a4 Fix the behavior of focus selection in bezier editor 2022-11-19 16:46:10 +09:00
Yuri Rubinsky
c2f03533d1
Merge pull request #68872 from adamscott/remove-fix-leftover
fix https://github.com/godotengine/godot/issues/61386
2022-11-19 10:37:12 +03:00
clayjohn
0e5a98cdd8 Fix drawing of 2D skeletons in the RD renderer.
Also clean up skeleton code in preparation for adding them to GLES3

Properly update Mesh2D AABBs when skeleton is updated
2022-11-18 23:36:40 -08:00
dzil123
8000751d90 RenderDummy::TextureStorage::texture_replace add missing null check 2022-11-18 22:03:46 -08:00
Ayush Singla
75ba0a7957 fixed incorrect mesh normals in shaders 2022-11-19 11:06:03 +05:30
Adam Scott
6d7c8533d5 Remove fix leftover that caused cyclic load issues 2022-11-18 23:37:00 -05:00
Haoyu Qiu
d11bb8809a Fix missing editor plugins 2022-11-19 10:48:38 +08:00
Raul Santos
792e618749
C#: Synchronize Godot enums with core 2022-11-19 01:54:23 +01:00
Andy Maloney
cb6cffbfd9 Static analysis: remove "break" after "return"
Changes as requested to keep in sync with godotengine/godot-cpp#929
2022-11-18 17:57:33 -05:00
Rémi Verschelde
84c404f6bc
Merge pull request #68842 from Uxeron/DragPositionFix
Fixed `_get_drag_data` getting incorrect position on a scaled `Control`
2022-11-18 23:32:08 +01:00
Rémi Verschelde
1bc131afb8
Merge pull request #68758 from Faless/mp/4.x_better_debug
[MP] Improve network profiler.
2022-11-18 23:29:02 +01:00
Rémi Verschelde
fcfd1e548c
Merge pull request #68824 from TokageItLab/fix-root-assign
Make the root motion track candidates all the bones of the Skeleton existing in the tracks
2022-11-18 23:26:23 +01:00
Rémi Verschelde
14c1726b97
Merge pull request #68821 from EricEzaM/68617-fix-event-text-and-jpmotion-deadzone
Refactor `get_event_text` to a static method, remove high deadzone from event configuration
2022-11-18 23:23:18 +01:00
Rémi Verschelde
5f73d55dfb
Merge pull request #68854 from anvilfolk/highlight-var
Add error highlighting for duplicate variables/constants
2022-11-18 23:08:11 +01:00
Rémi Verschelde
80b3813b15
Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2
Fix cyclic references in GDScript 2.0
2022-11-18 23:08:01 +01:00
Rémi Verschelde
a66fc4cf7e
Merge pull request #60686 from trollodel/move_editor_registration
Move editor class and plugin registrations to a dedicated file
2022-11-18 23:07:48 +01:00
souplamp
a3917039d1 capitalize skeleton3d plugin dropdown 2022-11-18 15:47:58 -06:00
Adam Scott
5704055d30 Fix cyclic references in GDScript 2.0 2022-11-18 16:41:31 -05:00
ocean (they/them)
ef2aeca5df Add error highlighting for duplicate variables/constants 2022-11-18 15:20:26 -05:00
Rémi Verschelde
c9c09ad608
Merge pull request #68847 from anvilfolk/silly-vs
Add VS's enc_temp_folder to .gitignore
2022-11-18 20:44:22 +01:00
Rémi Verschelde
35ff5ff1aa
Merge pull request #68828 from bruvzg/win_regen_icon
Windows icon export improvements.
2022-11-18 20:44:16 +01:00
Rémi Verschelde
1af7e393be
Merge pull request #68831 from YuriSizov/docs-classref-better-split
Improve class reference split, list variant types separately
2022-11-18 20:43:43 +01:00
ocean (they/them)
8ae66c143b Add VS's enc_temp_folder to .gitignore 2022-11-18 13:42:32 -05:00
bruvzg
ac0ed9ce67
Windows icon export improvements.
Regenerate Windows icon on export to ensure correct icon size order.
Add support for using PNG/WebP/SVG files as an icon for Windows exports.
Allow using WebP/SVG files as icon for macOS exports.
Add option to select generated icons interpolation, and set default interpolation to Lanczos.
2022-11-18 19:42:07 +02:00
Uxeron
721e51ac28 Fixed _get_drag_data getting incorrect position on scaled controls 2022-11-18 19:10:57 +02:00
Rémi Verschelde
d93bec61c3
Merge pull request #68432 from Geometror/generic-math-func-tests
Generic math function tests: Test float and double variants
2022-11-18 16:21:39 +01:00
Rémi Verschelde
c36691394a
Merge pull request #68799 from Chaosus/shader_fix
Prevent stack overflow when setting a shader global value
2022-11-18 16:21:18 +01:00
Rémi Verschelde
c3132b42cb
Merge pull request #66816 from raulsntos/dotnet/readonly
Add `readonly` to C# methods and types that don't mutate
2022-11-18 16:20:29 +01:00
Rémi Verschelde
8ab3e73a79
Merge pull request #64212 from xiongyaohua/curve3d_baking_refactor
Move rotation interpolation to Curve3d and refactor baking
2022-11-18 16:20:14 +01:00
Rémi Verschelde
6b6572963f
Merge pull request #68430 from anvilfolk/check-superclass-member
Fix minor inheritance errors
2022-11-18 16:19:28 +01:00