Commit Graph

3150 Commits

Author SHA1 Message Date
Thaddeus Crews b8c2d43bdf Merge pull request #118265 from L3GiaBao/fix-boneattachment3d-throwing-!is_inside_tree()
Fix `BoneAttachment3D` throws `!is_inside_tree()`
2026-05-15 15:42:07 -05:00
Luca Martinelli 86e1ce7bf7 Disable AudioStreamPlayer2D/3D area bus override by default to improve performance
This reduces the number of physics checks performed by each
AudioStreamPlayer2D/3D node in the scene.

This is accomplished by setting the default area mask to 0
and exiting early when the area mask is to 0 to improve performance.
Note that in existing projects, the value will only be set to 0
if it was previously set to the default value (1).

The feature can be re-enabled by setting the area mask to 1
(or any other value) on each AudioStreamPlayer2D/3D node.
2026-05-05 23:40:02 +02:00
AtomicAntt 68283fbbc7 Rename 'name' in XRController3D signal parameters to 'action_name' 2026-05-01 14:27:52 -07:00
Thaddeus Crews f1ea87c4bd Merge pull request #89325 from Mickeon/CPUParticles-basis-invert-mess-det-something-something
Fix error when CPUParticles3D has `scale` set to `(0, 0, 0)`
2026-04-30 10:58:10 -05:00
Silc Lizard (Tokage) Renew c7bd58d3c9 Add lacked argument to bound method for curve in SpringBoneSimulator 2026-04-24 11:10:28 +09:00
Kaleb Reid f973e3e346 Remove p_ and add r_ prefixes to argument names 2026-04-15 13:47:15 -07:00
Thaddeus Crews 15438d2d64 Merge pull request #117828 from lawnjelly/fti_fix_property_release_4
`FTI` - Fix property release updates
2026-04-14 07:11:06 -05:00
Thaddeus Crews 7ce1853014 Merge pull request #108219 from CookieBadger/area-light-integration
Add Rectangular Area Light Source
2026-04-14 07:10:56 -05:00
lawnjelly 6c82d74a28 FTI - Fix property release updates
Ensures properties are correctly updated to the server when being removed from the property update list.
2026-04-14 10:50:52 +01:00
Thaddeus Crews b6f86739b6 Merge pull request #109911 from TCROC/fix-particles-moving-timescale-0
Fix particles moving when timescale is 0
2026-04-08 09:25:25 -05:00
Thaddeus Crews ad46310dd5 Merge pull request #114556 from jgill88/gh-11698
Add ping-pong playback support to SpriteFrames / AnimatedSprite2D / AnimatedSprite3D
2026-04-07 18:21:36 -05:00
Le Gia Bao 3d889c59d2 Fix #118218: BoneAttachment3D throws !is_inside_tree() 2026-04-06 23:16:55 -04:00
Thaddeus Crews a7060f5c86 Merge pull request #113605 from TokageItLab/mod-optimize
Optimize SkeletonModifier3D Influence interpolation
2026-04-06 13:02:23 -05:00
Thaddeus Crews abfb91d1e2 Merge pull request #117959 from TokageItLab/fix-splineik
Fix SplineIK crash cases
2026-04-06 13:02:13 -05:00
Silc Lizard (Tokage) Renew 5796bf3ad3 Optimize SkeletonModifier3D Influence interpolation 2026-04-06 01:46:59 +09:00
CookieBadger 7b7bd1dcea Add AreaLight3D 2026-04-04 01:37:10 +02:00
Thaddeus Crews 376b3b041e Merge pull request #118080 from mihe/less-transform-notifications
Only propagate physics server transforms when different
2026-04-03 11:52:19 -05:00
Thaddeus Crews eda3dc13b9 Merge pull request #109142 from QbieShay/qbe/particle-process-windown
Extra particle tools for seeking
2026-04-01 18:10:08 -05:00
Mikael Hermansson f6da6bf1f3 Only propagate physics server transforms when different 2026-04-01 18:14:58 +02:00
Thaddeus Crews 91ad65d932 Merge pull request #114080 from Rookfighter/fix-audio-output-subviewport-3d
Fix volume calculation with multiple viewports in 3D
2026-03-31 10:46:46 -05:00
Fabian Meyer c7324d1556 Use camera with highest volume to handle multiple viewports
Co-authored-by: Kusok <118438257+kus04e4ek@users.noreply.github.com>
2026-03-31 17:39:20 +02:00
Thaddeus Crews d76390fa36 Merge pull request #117879 from Jordyfel/nav-3d-disabled-build
Fix build with 3D navigation disabled
2026-03-30 13:35:27 -05:00
Silc Lizard (Tokage) Renew 15e587d4b0 Fix SplineIK crash cases 2026-03-29 19:37:48 +09:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Qbieshay 158d8784c3 Add parameter to request_process_time to have particle process without
emission.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2026-03-27 11:57:08 +01:00
Jordyfel eedca776ce Fix build with 3D navigation disabled 2026-03-26 22:15:45 +02:00
Josh Gill d4d8b781be Add ping-pong playback support to SpriteFrames / AnimatedSprite2D / AnimatedSprite3D 2026-03-23 22:32:29 -07:00
Rémi Verschelde cd8ee7d229 Merge pull request #116620 from QbieShay/qbe/rework-align-rotation
Improve options for orienting particles in space
2026-03-23 22:34:16 +01:00
Rémi Verschelde 8d0b238727 Merge pull request #117655 from pkowal1982/frame_duration
Call stop after setting new sprite frames
2026-03-23 12:58:09 +01:00
Paweł f7523827cd Call stop after setting new sprite frames 2026-03-19 21:59:33 +01:00
Qbieshay 113ace0cd3 Add options for billboarding on GPUParticles3D
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-03-19 16:10:20 +01:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Silc Lizard (Tokage) Renew 9b91768195 Add node path validation & tweak warning in SkeletonModifier3D 2026-03-13 10:05:57 +09:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Rémi Verschelde 8028b65442 Remove unused includes in scene with clangd-tidy 2026-03-10 16:40:00 +01:00
kobewi cd1d676c28 Fix DirectionalLight3D property list 2026-03-07 18:47:12 +01:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde 18edfa5245 Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
Thaddeus Crews 98e6b3c460 Merge pull request #116956 from KoBeWi/missingmesh
Add configuration warning for missing Mesh
2026-03-04 14:32:31 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
kobewi 75f0e931e2 Add configuration warning for missing Mesh 2026-03-02 14:00:26 +01:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde cb9b4cff90 Decouple MeshStorage from RenderingServer
By moving RS::SurfaceData and RS::MeshInfo to RenderingServerTypes.

This notably allows removing RS dependency from `mesh.h`.
2026-02-25 20:17:28 +01:00