3771078c02
Verify GLTF indices to prevent crash with corrupt files
...
Also verify prior to vertex optimization.
2024-07-31 10:39:17 +01:00
250a7d8788
Physics Interpolation - Fix Transform2D::interpolate_with()
...
Ports the `interpolate_with()` routine from 4.x which works correctly with skew.
2024-07-02 07:42:08 +01:00
0b30d77384
Physics Interpolation - refactor Camera and fix get_camera_transform()
...
* Moves 3D Camera interpolation scene side.
* Automatically switches `get_camera_transform()` to report interpolated transform during `_process()`.
* Fixes `ClippedCamera` to work with physics interpolation.
2024-06-09 12:08:27 +01:00
a5c8106f92
Fix GCC 14 -Wtemplate-id-cdtor warnings
...
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com >
2024-05-11 15:07:19 +08:00
63cecb7875
[Core] Use unztell64 in FileAccessZIP to ensure 64 bit return
...
(cherry picked from commit efccebd3db )
2024-05-01 12:09:31 +02:00
ed952f82bd
Add is_zero_approx methods to Vector{2,3}
2024-04-10 19:02:42 +08:00
1a9b5b7c99
Merge pull request #88345 from SysError99/3.x-get_or_add
...
[3.x] Add a `get_or_add` method to Dictionary
2024-04-04 13:04:16 +01:00
3fb36bf395
[Core] Codestyle improvements to math types
2024-03-17 09:22:18 +01:00
b3f93ad127
[3.x] Add a get_or_add method to Dictionary
...
Co-authored-by: Aaron Franke <arnfranke@yahoo.com >
2024-02-15 19:49:43 +07:00
0aa22b8f13
Vertex cache optimizer
...
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
f61e2491e1
Update year property in version.py to 2024
...
Seems like we missed this one when changing the copyright statements
to use `present` instead of the hardcoded `year`.
And backport other minor improvements from #87543 .
2024-01-25 13:38:03 +01:00
f706a3bd54
Web: Clarify that OS.get_unique_id is not supported
...
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.
Fixes #82439 .
(cherry picked from commit 0a10f09ce4 )
2024-01-18 16:19:43 +01:00
8bec4b6456
zlib/minizip: Update to version 1.3
...
Remove `infback.c` which we don't need.
The `OF` macro was also removed so I can drop the patch where I yell
at Gentoo developers.
(cherry picked from commits e0e1f2e4a2
and 071499ac0d )
2024-01-18 16:19:32 +01:00
9d69e7aba3
Donors: Change tiers to match Dev Fund, sync latest data
...
The new list includes all donors listed on fund.godotengine.org,
together with the ones still on Patreon on matching tiers.
We haven't yet updated Patreon tiers to match the Dev Fund, so donors
who used to be listed under "Silver donors" are now grandfathered under
the "Gold members" category from the Dev Fund.
(cherry picked from commit ff5ac866e8 )
2024-01-18 16:10:45 +01:00
9aa001fe14
[Core] Fix AABB.encloses failing on shared upper bound
...
This differs from `Rect2` and was fixed for those classes in the past
2024-01-14 13:36:05 +01:00
739d27ae40
Add project settings for AVAudioSessionCategory on iOS
...
Co-authored-by: Georg Wacker <contact@georgwacker.com >
2024-01-10 13:33:11 +01:00
d214867a7e
Fix unitialized variables in core
2024-01-05 11:47:46 +01:00
1fe73d4feb
Merge pull request #85917 from akien-mga/3.x-fix-Wtype-limits-gcc-arm64
...
[3.x] Fix various GCC 13 warnings
2023-12-11 20:02:09 +01:00
bfc4baa289
Merge pull request #84934 from Faless/fix/file_get_buffer
...
[3.x] [Core] Fix `File.get_buffer` returning wrong length
2023-12-08 15:41:39 +01:00
02e4e208ef
Fix various GCC 13 warnings
...
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-08 15:32:59 +01:00
d8ea68d3dd
[Core] Fix File.get_buffer returning wrong length
...
File.get_buffer always returned as many bytes as requested (even when
EOF was reached), this resulted in random bytes being returned when
overflowing.
2023-11-15 12:49:01 +01:00
fe79dc90fc
Check parameter validity in Object::set_script
...
Fixes #46120 .
(cherry picked from commit 9c6c2f09e0 )
2023-10-30 14:51:07 +01:00
fe7ed984b5
Merge pull request #82512 from Rindbee/fix-axis-being-mixed-up-in-3.x
...
[3.x] BVH - fix axis getting mixed up when split leaf
2023-10-01 22:51:46 +02:00
ab76395144
[3.x] BVH - fix axis getting mixed up when split leaf
...
Split preferentially on longest axis, rather than shortest axis.
2023-09-29 14:35:33 +08:00
01c60dc9ee
[3.x] BVH - fix not refitting upward from leaf nodes
...
Fix leaf node possibly not updating aabb due to wrong node id.
Additionally, when requesting a new leaf, mark `dirty` as `false` in `clear()`.
2023-09-29 05:54:47 +08:00
5279566a1b
Merge pull request #81117 from AThousandShips/object_register_fix_3_x
...
[3.x] Add check to ensure registered classes are declared
2023-09-06 13:04:46 +02:00
2a6c7fc9f0
Merge pull request #81114 from dalexeev/3.x-core-add-recursion-check-for-variant-writer
...
[3.x] Core: Add recursion level check for `VariantWriter::write()`
2023-09-06 13:04:23 +02:00
54738d3195
Revert "Backport implement loading DDS textures at run-time"
...
This reverts commit 22468ea1d3 .
See #81126 for rationale.
2023-09-01 08:47:25 +02:00
4b205afd3d
Add check to ensure registered classes are declared
...
Checks that all classes registered to `ClassDB` have been properly declared with `GDCLASS`
2023-08-29 13:13:42 +02:00
0213cbbf20
[3.x] Core: Add recursion level check for VariantWriter::write()
2023-08-29 14:10:11 +03:00
c269e9243b
Fix crash when calling fill method on an empty Image
...
(cherry picked from commit adec51cde8 )
2023-08-29 12:03:30 +02:00
0426e2b407
Fix Windows StringFileInfo structure
...
(cherry picked from commit e15a086bb9 )
2023-08-28 17:27:14 +02:00
4d8510f9b9
Fix moving position indicator out of bounds in FileAccessMemory
...
(cherry picked from commit bff0c71e2e )
2023-08-28 17:27:14 +02:00
47e64671f6
Merge pull request #81026 from Razoric480/raz/use_resource_cache
...
[3.x] Make binary resource loader utilize loaded external resources
2023-08-28 14:49:13 +02:00
17d8c09a8c
Actually use loaded resource cache
2023-08-27 09:22:32 -04:00
68e8c1bb8f
[3.x] Core: Add recursion level check for Array and Dictionary hashing
2023-08-22 15:07:53 +03: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
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
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
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
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
0c12e26ae1
Fix ProjectSettings::localize_path for Windows paths
2023-07-30 22:26:43 +02: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
43e181a00a
Single Compilation Unit build.
...
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-07-02 20:13:16 +01:00
8245fd3275
Test, refactor and fix a bug in Basis.get_axis_angle
...
Backport of #63428 .
Co-authored-by: juanFdS <juan9794@gmail.com >
2023-06-07 13:47:47 +02:00
18ee8da7d6
Add audio/general/text_to_speech project setting to enable/disable TTS.
2023-05-26 20:57:29 +03:00
1538b870f1
Merge pull request #76715 from m4gr3d/add_input_event_cancelled_state_3x
...
[3.x] Augment the `InputEvent` class with a `CANCELED` state
2023-05-17 18:21:42 +02:00
4cc2229a52
Merge pull request #72251 from RandomShaper/robust_sync_3.x
...
[3.x] Backport some multi-threading goodies
2023-05-16 13:16:25 +02:00