Commit Graph

35109 Commits

Author SHA1 Message Date
17b403af81 Merge pull request #80843 from lawnjelly/fix_gles3_wrapper_init
[3.x] Initialize `GLWrapper` earlier in `Storage::initialize()`
2023-08-21 11:16:54 +02:00
857d884026 Initialize GLWrapper earlier in Storage::initialize()
Make sure `GLWrapper` is initialized before `glActiveTexture` is called by other parts of the storage initialize(), to prevent benign warnings.
2023-08-21 08:51:47 +01:00
840fdb7468 Merge pull request #80495 from sk757a/3.x
[3.x] Fix Tween cheatsheet URL
2023-08-18 17:59:54 +02:00
cf4ccdfb09 Merge pull request #79598 from TokageItLab/orderdhashmap-blendtree
[3.x] Make AnimationNodeBlendTree use `OrderedHashMap` insteads `Map`
2023-08-18 17:52:15 +02:00
2dea8b3c34 Fix Tween cheatsheet URL 2023-08-18 13:12:36 +02:00
98976f9260 Merge pull request #80652 from Benedani/3.x_fix_gles2_skinning
[3.x] GLES2: Make GPU skinning more consistent with GLES3
2023-08-16 17:14:22 +02:00
dcb097c7a1 Merge pull request #80481 from lawnjelly/clay_unbind_textures
[3.x] Unbind texture slots when changing framebuffer
2023-08-16 17:13:56 +02:00
d61eba57ed Merge pull request #80622 from akien-mga/3.x-scons-disable-exception-handling
[3.x] SCons: Disable C++ exception handling
2023-08-16 17:12:04 +02:00
55550da68b SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:34:10 +02:00
a66e8a29a7 GLES2: Make GPU skinning more consistent 2023-08-15 12:59:39 +02:00
21ab700f2d Merge pull request #80406 from lawnjelly/animated_sprite_normal_fix
[3.x] Fix AnimatedSprite normal map loading
2023-08-15 09:04:35 +02:00
c685501f51 Merge pull request #80325 from lawnjelly/fti2d_check_skel_attach
[3.x] Hierarchical culling - Add extra check to `skeleton_attach_canvas_item`
2023-08-15 09:04:09 +02:00
5e197fd21e Unbind texture slots when changing framebuffer
Prevent bugs whereby texture still in use.
2023-08-12 11:07:13 +01:00
9435c38b95 Merge pull request #80400 from timothyqiu/eof-debugger
[3.x] Fix infinite loop on EOF in the command line debugger
2023-08-08 14:29:07 +02:00
75f427b8af Merge pull request #80294 from Birdulon/PAlatency
[3.x] PulseAudio: Remove `get_latency()` caching
2023-08-08 14:28:45 +02:00
95877b8e1f Merge pull request #80289 from lawnjelly/fti_2d_reset_on_enter
[3.x] Physics Interpolation 2D - reset on NOTIFICATION_ENTER_TREE
2023-08-08 14:28:23 +02:00
da5c95c5d8 Merge pull request #80239 from bruvzg/macos_export_backports
[3.x] [macOS] Backport notarytool, provisioning profile and PKG export options.
2023-08-08 14:28:00 +02:00
b8ff6190a8 Merge pull request #80176 from lawnjelly/fti_2d_particles
[3.x] Physics Interpolation - add support for CPUParticles2D
2023-08-08 14:27:38 +02:00
39ed0811e1 Merge pull request #80106 from lawnjelly/hier_multimesh_culling
[3.x] Fix 2D MultiMesh hierarchical culling
2023-08-08 14:27:15 +02:00
08832a00bf Merge pull request #80072 from RedworkDE/3x-localize-win-path
[3.x] Fix `ProjectSettings::localize_path` for Windows paths
2023-08-08 14:26:53 +02:00
62216ae043 Merge pull request #72661 from DeeJayLSP/backport_audio_icons
[3.x] Backport AudioStream icons from 4.0
2023-08-08 14:26:25 +02:00
d02b319ec4 Fix AnimatedSprite normal map loading
Normal map names are now correctly set up during loading.
2023-08-08 09:42:55 +01:00
d1dcea79d4 Fix infinite loop on EOF in the command line debugger
When using the command line debugger (godot -d) on Unix systems, when
entering an EOF (ctrl+D), the debugger enters an infinite loop.

Adding a check for EOF in the debugger loop exits the debugger when EOF
is entered.

Fixes #50170.

(cherry picked from commit 4ecad8dea3)
2023-08-08 11:27:17 +08:00
40490bb626 [macOS] Back-port notarytool, provisioning profile and PKG export options. 2023-08-07 08:41:37 +03:00
d7cca42ef6 Hierarchical culling - Add extra check to skeleton_attach_canvas_item
Although this check shouldn't be able to fail currently, it provides a small level of extra logic checking at only small cost in DEV builds.
2023-08-06 10:03:49 +01:00
d90626f583 PulseAudio: Remove get_latency() caching 2023-08-05 20:25:06 +09:30
bcfca5ec86 Physics Interpolation 2D - reset on NOTIFICATION_ENTER_TREE
As a convenience, physics interpolation is reset automatically on entering the tree. This will be desired in most situations, and saves the user having to write code for this explicitly.
2023-08-05 08:33:19 +01:00
a117a3307a Physics Interpolation - add support for CPUParticles2D
Similar to the existing 3D CPUParticles physics interpolation.
2023-08-03 14:44:08 +01:00
b776cf5498 Merge pull request #80197 from timothyqiu/resource
[3.x] SpatialEditorPlugin should only handle Spatial
2023-08-03 11:55:56 +02:00
ad577e3c7e Fix 2D MultiMesh hierarchical culling
Fixes updating local bounds for MultiMeshes used in canvas items by introducing a back link.
2023-08-03 06:49:01 +01:00
98803d4edd SpatialEditorPlugin should only handle Spatial 2023-08-03 09:41:48 +08:00
39bbf76584 Merge pull request #80084 from lawnjelly/canvas_item_get_local_bound
[3.x] Add `debug_canvas_item_get_local_bound()` function to VisualServer
2023-08-02 19:34:46 +02:00
61e41cc9a1 Add debug_canvas_item_get_local_bound() function to VisualServer
Useful for debugging hierarchical culling.
2023-08-02 17:05:13 +01:00
d5a56f023a Merge pull request #80093 from Faless/js/npm_update
[3.x] [JS] Update npm packages
2023-08-02 17:32:15 +02:00
412e44f079 Merge pull request #79947 from timothyqiu/edit-resource
[3.x] Fix OccluderPolyShape handles disappear after release click
2023-08-02 17:30:25 +02:00
dfed698ee3 Merge pull request #79706 from puzzud/3.x
[3.x] Prevent double input events on gamepad when running through steam input
2023-08-02 17:29:55 +02:00
e345fde462 Merge pull request #79704 from Faless/net/3.x_enet_update
[3.x] [Net/ENet] Better handle truncated socket messages
2023-08-02 17:27:57 +02:00
078e1b9f45 Merge pull request #79498 from lawnjelly/multirect_fix_flushing
[3.x] MultiRect - Fix flushing in TextEdit
2023-08-02 17:27:35 +02:00
fa04a839bb Merge pull request #79433 from raulsntos/3x/dotnet/dont-ignore-call-error
[3.x] C#: Print error when MethodBind call fails
2023-08-02 17:27:12 +02:00
c8295720e4 Merge pull request #76252 from lawnjelly/fti_2d
[3.x] 2D Fixed Timestep Interpolation
2023-08-02 17:26:50 +02:00
91e3a53518 Merge pull request #69101 from marcinn/3.x-backport-proposal-5748-loading-dds-at-runtime
[3.x] Backport implement loading DDS textures at run-time
2023-08-02 17:26:26 +02:00
5162efbfe9 2D Fixed Timestep Interpolation
Adds support to canvas items and Camera2D.
2023-08-01 16:07:48 +01:00
8fb47d6b3e [JS] Update npm packages 2023-08-01 11:51:41 +02:00
0c12e26ae1 Fix ProjectSettings::localize_path for Windows paths 2023-07-30 22:26:43 +02:00
dd3bda9156 Fix OccluderPolyShape handles disappear after release click 2023-07-27 16:56:00 +08:00
140440ee82 [3.x] Prevent double input events on gamepad when running through steam input #79706
Co-authored-by: Eoin O'Neill <eoinoneill1991@gmail.com>
2023-07-20 16:35:44 -04:00
6aedce488b [ENet] Update to upstream master. 2023-07-20 13:50:05 +02:00
c783dd4a52 [Net] Explicitly handle buffer errors in send/recv 2023-07-19 19:17:19 +02:00
06a98b809a [3.x] Make AnimationNodeBlendTree use OrderedHashMap insteads Map 2023-07-18 17:56:24 +09:00
8814578ceb MultiRect - Fix flushing in TextEdit
The FontDrawer used in TextEdit was previously not being flushed before drawing auto-completion boxes. This was causing rendering artifacts.
This PR also increases the backward compatibility of the MultiRect OFF mode, by forcing a flush after each character.
2023-07-15 14:02:21 +01:00