Commit graph

3100 commits

Author SHA1 Message Date
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
Rémi Verschelde
f0a448540e
Misc dependency improvements for files depending on rendering_server.h
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 3s.
2026-02-25 20:17:27 +01:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
kobewi
6f86914f55 Cleanup _validate_property() implementations 2026-02-23 15:05:25 +01:00
Rémi Verschelde
1c12d2c36e
Tidy up includes in scene/main and scene/debugger 2026-02-19 15:09:29 +01:00
Rémi Verschelde
ad4b910a10
Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Lukas Tenbrink
c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
Thaddeus Crews
ba5a0758e9
Revert "Change curve range for particle multipliers"
This reverts commit c6021f1e5b.
2026-02-10 09:58:58 -06:00
Thaddeus Crews
b79e1f36ef
Merge pull request #116012 from HEX-23/feature-fix_atomic_flag_node3d
Fix erroneous use of atomic in the dirty flags of Node3D
2026-02-09 15:06:59 -06:00
X23
0b8651810f Fix erroneous use of atomic in the dirty flags of Node3D 2026-02-08 00:42:19 +08:00
X23
44fa4a4cde Fix transform notification in threaded processing. 2026-02-07 17:51:30 +08:00
Thaddeus Crews
21932ace7f
Merge pull request #115689 from TokageItLab/fix-look-at-mod
Fix LookAtModifier3D / AimModifier3D forward vector
2026-02-05 09:32:33 -06:00
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Silc Lizard (Tokage) Renew
381ad1e4b5 Fix LookAtModifier3D / AimModifier3D forward vector 2026-02-02 22:38:47 +09:00
Rémi Verschelde
63c78e684b
Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Rémi Verschelde
429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
Thaddeus Crews
e36d624a30
Merge pull request #115607 from Ivorforce/sunless-sky
Remove `sky.h` include from `environment.h`, to speed up compile time.
2026-01-30 09:32:14 -06:00
Thaddeus Crews
fbbb8a921b
Merge pull request #115309 from Ivorforce/localvector-explicit-copy
Change copy constructor of `LocalVector` from implicit to explicit
2026-01-30 09:32:07 -06:00
Lukas Tenbrink
1d840aae3a Remove sky.h include from environment.h, to speed up compile time. 2026-01-30 00:05:55 +01:00
kobewi
f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Lukas Tenbrink
72b281d41e Remove a few includes of curve.h, texture.h and resource_loader.h + resource_saver.h. 2026-01-29 15:59:29 +01:00
Lukas Tenbrink
c56c297cee Remove geometry_3d include from rendering_server.h, to reduce compile time.
Change `Geometry3D` from class to namespace.
2026-01-27 18:12:38 +01:00
Lukas Tenbrink
63272b23ef Make LocalVector copy constructor explicit. 2026-01-23 20:52:03 +01:00
Silc Lizard (Tokage) Renew
9e066453fa Tweak IKModifier3D docs and comment 2026-01-24 00:55:54 +09:00
Lukas Tenbrink
1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
kleonc
0c993df437 Fix Sprite3D modulate propagation on reparenting 2026-01-16 15:02:34 +01:00
Ricardo Sanchez-Saez
75a3f4a244
Fix XROrigin3D scale warning 2026-01-13 11:16:37 -08:00
Rémi Verschelde
f33a83cdfe
Merge pull request #113979 from rsanchezsaez/apple/xr-node-warnings
Add XROrigin3D scale warning
2026-01-09 10:46:33 +01:00
Ricardo Sanchez-Saez
3106b11108
Add XROrigin3D scale warning 2026-01-08 17:04:54 -08:00
Rémi Verschelde
588c657920
Merge pull request #114240 from TokageItLab/fix-handring-ik
Fix setter for readonly bone name in the joint array and add null check in IKModifier3D
2026-01-01 21:50:34 +01:00
Rémi Verschelde
fa740ac5f3
Merge pull request #114431 from TokageItLab/fix-limitation-gizmo-on-root
Fix IKModifier/JointLimitation gizmo on root bone and dirty handling
2026-01-01 16:47:39 +01:00
Silc Lizard (Tokage) Renew
8a4fec4397 Fix IKModifier/ JointLimitation gizmo on root bone and dirty handling 2025-12-30 08:15:26 +09:00
kleonc
3e5f3e9d35 Fix sorting_offset property flags for Decal 2025-12-25 15:24:30 +01:00
Rémi Verschelde
97f584f58e
Merge pull request #114062 from CSLRDoesntGameDev/master
Return at invalid skeleton in ChainIK3D before updating mutable info
2025-12-21 10:41:03 +01:00
CSLRDoesntGameDev
4609ba77e6
Return at invalid skeleton in ChainIK3D before updating mutable info 2025-12-20 13:37:32 -07:00
Silc Lizard (Tokage) Renew
3db6605c83 Fix setter for readonly bone name and lacked null check in skelmods 2025-12-20 21:23:44 +09:00
Hugo Locurcio
3e7eb5c9dc Tweak property hints for SoftBody3D mass and SkeletonModification2DJiggle
Masses in Godot are specified in kilograms.
This also fixes the SoftBody3D mass being limited to increments of 1 kg,
now allowing adjustments to the nearest gram.
2025-12-18 02:28:13 +01:00
Bastiaan Olij
775bd3497e Hide properties on XRCamera3D that are managed by XRInterface 2025-12-16 08:28:49 +11:00
Logan Detrick
42e60c38dc Remove unused private variables in godot/scene 2025-12-07 03:46:26 -08:00
aXu-AP
c6021f1e5b
Change curve range for particle multipliers
Fixes #91404
Curves are applied as a multiplier, so ranges [-1, 1] or [0, 1] make much more sense than ranges like [-360, 360] or [0, 100]. The actual range is selected with separate min and max parameters.
2025-12-03 20:47:40 -06:00
David Snopek
308f23f21d Synchronize the names for RequiredParam<T> arguments in header files 2025-12-03 04:14:52 -06:00
Thaddeus Crews
9f76aa3df5
Merge pull request #113282 from dsnopek/required-ptr-get-out-there
Use `RequiredParam`/`RequiredResult` in some high value places
2025-12-02 20:42:53 -06:00
David Snopek
fc92ce3e7f Use RequiredParam/RequiredResult in some high value places 2025-12-02 10:44:12 -06:00
Rémi Verschelde
2c8a0c3419
Merge pull request #113284 from TokageItLab/twist-disperser
Add BoneTwistDisperser3D to propagate IK target's twist
2025-12-02 14:17:01 +01:00
Rémi Verschelde
c87dd8e02b
Merge pull request #111806 from Calinou/renderer-message-warnings
Make all unsupported renderer message features consistently warnings
2025-12-02 14:15:43 +01:00
Rémi Verschelde
44bc2da147
Merge pull request #98122 from cadence-s/fix-sprite3d-bleed
Fix Sprite3D texture bleed when not wrapping
2025-12-02 14:15:23 +01:00
Silc Lizard (Tokage) Renew
6ff3833c33 Add BoneTwistDisperser3D to propagate IK target's twist 2025-12-02 19:20:26 +09:00
Hugo Locurcio
2cf7af9149
Make all unsupported renderer message features consistently warnings
Previously, some messages indicating a lack of support were errors
instead of warnings. Some messages were also not shown when running
a release export template.

- Use "renderer" terminology consistently instead of "rendering method".
2025-12-01 17:38:12 +01:00
Silc Lizard (Tokage) Renew
390e64ff9c Remove is_penetrated check from IK as role overlap/excessive behavior 2025-11-29 00:37:01 +09:00