Commit Graph

35682 Commits

Author SHA1 Message Date
lawnjelly
9ad73062e8 Physics Interpolation - Add editor warning for non-interpolated physics body 2025-04-20 09:56:13 +01:00
lawnjelly
009e0c576b Merge pull request #105463 from lawnjelly/fti_fix_auto_resets2
[3.x] FTI - Fix 3D auto-resets
2025-04-20 09:44:03 +01:00
lawnjelly
a2a8bef10f FTI - Fix 3D auto-resets
* Ensure NOTIFICATION_RESET_PHYSICS_INTERPOLATION is sent to derived classes
* Add deferred auto-resets for all `Spatials` on entering the tree
2025-04-16 19:43:13 +01:00
lawnjelly
c3c918e285 Merge pull request #105407 from lawnjelly/fti_disable_scale_bug
[3.x] Physics Interpolation - Fix `disable_scale` bug in 3D
2025-04-15 15:42:31 +01:00
lawnjelly
36e1329a4c Physics Interpolation - Fix disable_scale bug in 3D 2025-04-15 10:00:48 +01:00
lawnjelly
9fccb6b2d7 Merge pull request #105141 from lawnjelly/fti_non_interp_fix
[3.x] Physics Interpolation - Fix non-interpolated resting xforms
2025-04-09 07:52:40 +01:00
lawnjelly
2bb32734cf Physics Interpolation - Fix non-interpolated resting xforms
Ensure servers are updated for non-interpolated Spatials, either during the scene tree update or a final pass.
Ensure properties and xforms are given a final server update in the final resting positions after removal from tick lists.
Fixes dirty local xform bug.
2025-04-09 07:41:00 +01:00
lawnjelly
383ecda59c Merge pull request #104920 from lawnjelly/fti_interpolated_prop
[3.x] Physics Interpolation - Add `InterpolatedProperty`
2025-04-07 13:25:44 +01:00
lawnjelly
2a420b614b Merge pull request #104947 from Asaduji/arvr-node-interpolation-fix
[3.x] Change ARVR Nodes default interpolation to off
2025-04-07 10:00:17 +01:00
lawnjelly
18c01b21e5 Physics Interpolation - Add InterpolatedProperty
And add some basic interpolated properties to Camera.
2025-04-07 08:19:00 +01:00
lawnjelly
4d6605bed0 Merge pull request #104854 from lawnjelly/fti_reduce_server_updates
[3.x] Physics Interpolation - Reduce unnecessary `VisualServer` updates
2025-04-07 07:26:07 +01:00
lawnjelly
fa5c589545 Merge pull request #104888 from lawnjelly/fti_fix_cpu_particles
[3.x] Physics Interpolation - Fix `CPUParticles` to work with `SceneTreeFTI`
2025-04-07 07:24:03 +01:00
Asaduji
50ab06d73e Change ARVR Nodes default interpolation to off 2025-04-03 16:18:16 +02:00
lawnjelly
ea5e3bfe3d Physics Interpolation - Fix CPUParticles to work with SceneTreeFTI 2025-04-01 17:21:15 +01:00
lawnjelly
65185415b2 Physics Interpolation - Reduce unnecessary VisualServer updates
With the new `SceneTreeFTI`, most xforms are updated to the server externally by the FTI system, so it is no longer necessary to update the server on each `NOTIFICATION_TRANSFORM_CHANGED`.
2025-03-31 17:21:25 +01:00
lawnjelly
106eeb8e60 Merge pull request #104825 from lawnjelly/faster_cast_to
[3.x] Use the in-built casting instead of `dynamic_cast` on all platforms
2025-03-31 13:39:46 +01:00
lawnjelly
be6f971f4f Use the in-built casting instead of dynamic_cast on all platforms
The in-built casting appears significantly faster than `dynamic_cast`.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-03-31 12:46:24 +01:00
lawnjelly
761339b001 Merge pull request #104823 from lawnjelly/simplified_casting_changes
[3.x] Make changes for simplified ObjectDB::get_instance() casting
2025-03-31 10:07:33 +01:00
lawnjelly
a39897953d Make changes for simplified ObjectDB::get_instance() casting 2025-03-31 07:42:34 +01:00
lawnjelly
157f8805c2 Merge pull request #100603 from lawnjelly/get_instance_cast
[3.x] Simplify `ObjectDB::get_instance()` casting
2025-03-30 20:07:13 +01:00
lawnjelly
31935d6d63 Simplified ObjectDB::get_instance() casting
Reduces boiler plate by templating `get_instance()` for the cast type, while remaining backward compatible to the existing functionality.
2025-03-30 19:23:16 +01:00
lawnjelly
5155fe5a4f Merge pull request #103685 from lawnjelly/fti_scene_tree
[3.x] Physics Interpolation - Move 3D FTI to `SceneTree`
2025-03-30 15:46:13 +01:00
lawnjelly
95a494c8e5 Merge pull request #100995 from lawnjelly/move_semantics
[3.x] Add move semantics to core containers.
2025-03-23 10:16:21 +00:00
lawnjelly
585909ef69 Merge pull request #103763 from lawnjelly/global_get_fast
[3.x] Add `GLOBAL_GET` cached macros.
2025-03-18 16:47:06 +00:00
lawnjelly
0758ad0612 Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-03-18 16:28:40 +00:00
lawnjelly
66a2efe491 Physics Interpolation - Move 3D FTI to SceneTree
Moves 3D interpolation from `VisualServer` to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-03-17 17:55:26 +00:00
lawnjelly
766b02c9cd Merge pull request #103621 from YYF233333/noinline-err-print3.x
[3.x] Prevent inlining error printing functions
2025-03-05 11:22:14 +00:00
Yufeng Ying
2a2ae48d30 Prevent inlining error print functions. 2025-03-05 17:36:59 +08:00
lawnjelly
9ce78ca5c2 Merge pull request #102684 from axewizardbgg/doc-bitmappolygons
[3.x] Docs: Add description for `BitMap.opaque_to_polygons` method
2025-02-11 11:11:50 +00:00
axewizardbgg
f38ce8bdbe Docs: BitMap: Added description for opaque_to_polygons method 2025-02-11 10:34:29 +01:00
lawnjelly
a4349590c5 Merge pull request #102184 from lawnjelly/fti_fix_client_ticking
[3.x] Physics Interpolation - fix client interpolation pump
2025-02-10 19:07:27 +00:00
lawnjelly
aa9ad67ac9 Merge pull request #101218 from lawnjelly/fti_auto_reset_mode_change
[3.x] Physics Interpolation - Auto-reset on `set_physics_interpolation_mode()`
2025-02-09 17:22:04 +00:00
Rémi Verschelde
5a50868b60 Merge pull request #100459 from lawnjelly/revert_range_set_value
[3.x] Revert changes to `Range::set_value` #65101
2025-02-03 15:08:27 +01:00
lawnjelly
7e9be93338 Physics Interpolation - fix client interpolation pump
Client interpolation pump is moved AFTER the physics tick, after physics objects have been moved.
This is necessary because the `current` transform is also updated during the pump.
2025-01-30 11:44:16 +00:00
Rémi Verschelde
56d8204470 Merge pull request #102023 from akien-mga/3.x-embree-fix-gcc15
[3.x] embree: Fix invalid output operators raising errors with GCC 15
2025-01-30 08:59:08 +01:00
Rémi Verschelde
209579a2a6 embree: Fix invalid output operators raising errors with GCC 15 2025-01-25 15:25:37 +01:00
lawnjelly
7c824d1fa5 Physics Interpolation - Auto-reset on set_physics_interpolation_mode()
Fixes historical bug where auto-reset wasn't working correctly.
Also fixes process modes on Cameras when mode is changed.
2025-01-23 08:51:47 +00:00
lawnjelly
5e904cd4df Merge pull request #100389 from twrightsman/3.x
[3.x] Enable builds with miniupnpc API 18
2025-01-22 18:54:44 +00:00
Max Hilbrunner
e2543103e4 Fix VS project generation with SCons 4.8.0+
(cherry picked from commit f682406cf2)
2025-01-13 16:13:50 +01:00
lawnjelly
d549b98c5c Add move semantics to core containers.
Adds to SWAP, Variant, StringName, List, CowData and LocalVector.

Co-Authored-By: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-01-01 16:00:00 +00:00
lawnjelly
815484b595 Revert changes to Range::set_value #65101 2024-12-16 06:47:28 +00:00
lawnjelly
cd92ad0f69 Merge pull request #99869 from arkology/3.x_radial-center-offset-bounds
[3.x] Document `radial_center_offset` bounds for `TextureProgress`
2024-12-15 17:59:41 +00:00
Travis Wrightsman
a2a46009f5 Enable builds with miniupnpc API 18
Backports https://github.com/godotengine/godot/pull/97139 without
bumping the embedded miniupnpc library.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-12-13 20:53:14 -08:00
Rémi Verschelde
7fbb30e55b mbedtls: Update to upstream version 2.28.9
(cherry picked from commit 881645fff9)
2024-12-05 01:07:03 +01:00
lawnjelly
99741e6528 Merge pull request #99857 from 20kdc/backport-scene-saved
[3.x] Backport  "[Editor] Add `EditorPlugin::scene_saved` signal"
2024-12-02 13:37:45 +00:00
A Thousand Ships
45d1948b64 [Editor] Add EditorPlugin::scene_saved signal (3.x backport)
Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal

3.x backport: Adjusted documentation slightly, backported to 3.x branch

Co-authored-by: t20kdc <asdd2808@gmail.com>
2024-11-30 12:04:17 +00:00
arkology
fc4f40127e Document radial_center_offset bounds 2024-11-30 11:47:40 +03:00
Rémi Verschelde
36a01852a7 Merge pull request #99692 from Chubercik/update_3.6_changelog
[3.x] Update the `Thirdparty` section of `CHANGELOG.md`
2024-11-25 22:56:17 +01:00
Jakub Marcowski
20c2dcadd9 Update the Thirdparty section of CHANGELOG.md 2024-11-25 21:19:02 +01:00
lawnjelly
b841dad1ff Merge pull request #99554 from Calinou/editor-directionallight-3-splits-hide-property-3.x
[3.x] Hide last DirectionalLight shadow split distance property when using PSSM 3 Splits
2024-11-24 08:08:55 +00:00