Commit Graph

2682 Commits

Author SHA1 Message Date
Thaddeus Crews
89a311205f
Style: Apply clang-tidy fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Michael Alexsander
16524a8a01
Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Thaddeus Crews
b748c91e5b
Merge pull request #98289 from BlueCube3310/lightmap-clenaup
LightmapGI: Clean up and improve lightmap atlas storage
2024-10-29 19:25:58 -05:00
Thaddeus Crews
b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
nazarii
76208f7155 Implement array based hash map 2024-10-24 21:34:12 +03:00
Thaddeus Crews
cfc05c5e0f
Merge pull request #85338 from EMBYRDEV/shadow-caster-mask
Add `shadow_caster_mask` to Light3D.
2024-10-24 13:22:59 -05:00
Thaddeus Crews
16d68c6be4
Merge pull request #98201 from AThousandShips/lightmap_compile_fix
Fix unreachable code in `lightmap_gi.cpp`
2024-10-21 16:39:06 -05:00
BlueCube3310
184395401b LightmapGI: Clean up and improve lightmap atlas storage 2024-10-18 10:20:37 +02:00
Clay John
acc3786db2
Merge pull request #98009 from TokageItLab/init-skel-skin
Fix initial skin update timing in Skeleton3D
2024-10-17 16:51:05 -07:00
Silc Lizard (Tokage) Renew
d29e7b6953 Fix initial skin update timing in Skeleton3D 2024-10-16 05:13:13 +09:00
A Thousand Ships
de128812f3
Fix unreachable code in lightmap_gi.cpp 2024-10-15 13:17:15 +02:00
Thaddeus Crews
5c00d0a54e
Merge pull request #94371 from KoBeWi/insane_particle_unification_😱
Unify particle editors
2024-10-14 14:09:42 -05:00
detomon
9ab84887aa Improve performance of global bone pose calculation in Skeleton3D 2024-10-12 11:13:22 +02:00
Thaddeus Crews
bb20444998
Merge pull request #97744 from Nazarwadim/use_local_vector_for_skeleton
Use `LocalVector` for skeleton
2024-10-10 18:13:19 -05:00
kobewi
b9d25580ce Fix implementation of property_can_revert() in various classes 2024-10-04 23:02:04 +02:00
kobewi
a4d724b37c Unify particle editors 2024-10-04 22:36:12 +02:00
Nazarii
1ba168fcbc Use local vector for skeleton 2024-10-02 20:38:40 +03:00
Hugo Locurcio
0807d60d68
Check RenderingDevice availability to display LightmapGI configuration warnings
We can now check whether RenderingDevice can be created (which is
not guaranteed when using the Compatibility rendering method),
so the warning can be displayed only when relevant.

This also disables the Bake Lightmaps button with a tooltip if baking
is not available.
2024-09-28 23:56:47 +02:00
Rémi Verschelde
ab1f55e738
Merge pull request #97489 from TokageItLab/deferred-skin-registration
Move skin registration process into deferred on ready
2024-09-27 13:53:38 +02:00
Silc Lizard (Tokage) Renew
2eb069f40b Move skin registration process into deferred on ready 2024-09-26 22:36:58 +09:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
lawnjelly
6764338e09 Fix physics platform behaviour regression
Lifetime checks for stored `RIDs` for collision objects assumed they had valid `object_ids`.
It turns out that some are not derived from `Object` and thus checking `ObjectDB` returns false for some valid `RIDs`.
To account for this we only perform lifetime checks on valid `object_ids`.
2024-09-23 10:56:24 +01:00
Wierdox
a3158d89bb Fix AudioStreamPlayer3D still processing when out of range 2024-09-19 22:16:59 -07:00
Aaron Franke
e3895e0ca2
Add units to VehicleWheel3D suspension stiffness and damping 2024-09-17 03:22:50 -07:00
Rémi Verschelde
b1b4d5b6d1
Merge pull request #97007 from TokageItLab/fix-sync-physical-bone
Fix syncing PhysicalBone internal poses individually
2024-09-17 09:17:54 +02:00
Rémi Verschelde
e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
demolke
0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Joel Fortier
a58ae8e1c6 Fixed SoftBody3D handles not being clickable in 3D Editor Viewport
Fix erratic behaviour when modifying pinned_points via inspector
2024-09-16 21:30:31 +09:30
Silc Lizard (Tokage) Renew
2b3cf2451f Fix syncing PhysicalBone internal poses individually 2024-09-15 01:46:12 +09:00
Rémi Verschelde
83d54ab2ad
Merge pull request #96708 from bruvzg/lbl3d_os
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
[Label3D] Fix updating labels in subvieports on oversampling change.
2024-09-12 10:28:52 +02:00
Yaohua Xiong
51b8b74d4b Do not defer PathFollow3D transform updates
Co-authored-by: Yaohua Xiong <xiongyaohua@gmail.com>
2024-09-10 10:35:48 +02:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
bruvzg
bdd5117086
[Label3D] Fix updating labels in subvieports on oversampling change. 2024-09-08 15:11:13 +03:00
Rémi Verschelde
aa07333abe
Merge pull request #96114 from BlueCube3310/sh-lightmap-packing
LightmapGI: Pack L1 SH coefficients for directional lightmaps
2024-09-06 22:38:29 +02:00
BlueCube3310
a89f4fa5a9 LightmapGI: Pack L1 SH coefficients for directional lightmaps 2024-09-05 22:46:58 +02:00
A Thousand Ships
9dc231366d
Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
Malcolm Nixon
7c300d8408 Add warning if XRHandModifier3D used with OpenXR and hand-tracking isn't enabled. 2024-09-05 00:14:55 -04:00
Rémi Verschelde
a1012058dd
Merge pull request #94886 from gturri/dev
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
2024-09-04 18:55:24 +02:00
Guillaume Turri
ea9dff87ae
Add error checks for bad configuration in PathFollow2D/3D set_progress_ratio
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
    myPathFollow2D.set_progress_ratio(0.5)
    myPathFollow2D.get_progress_ratio()
does not return 0.5)

This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
smix8
a99a1699aa Add option to bake a mesh from animated skeleton pose
Adds option to bake a mesh from animated skeleton  pose.
2024-09-03 22:16:05 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde
3c58b64b07
Merge pull request #96270 from TokageItLab/physical-bone-update
Fix physical bone update without simulating
2024-09-03 11:43:39 +02:00
Kasper Arnklit Frandsen
40b9516724 Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +02:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Raul Santos
7fd261c8c1
Expose AudioStreamPlayer{2D,3D}::set_playing and remove AudioStreamPlayer::{2D,3D}::_is_active
- The `_is_active` method seems to be unused, so it was removed.
- The `_set_playing` method is now exposed, as the setter of the `playing` property.
    - The `play` method can't be used as a setter because it takes a `float` parameter instead of a `bool` parameter.
2024-08-30 17:16:46 +02:00
Silc Lizard (Tokage) Renew
f2186eeac0 Fix physical bone update without simulating 2024-08-29 18:29:15 +09:00
Rémi Verschelde
9725c03228
Merge pull request #93900 from TestSubject06/10106/raycast_info_on_wheels
Expose contact point and contact normal on VehicleWheel3D to scripting.
2024-08-29 10:36:30 +02:00
Alula
346cbc7f1f
Add support for compiling with VS clang-cl toolset 2024-08-28 13:30:44 -05:00
TestSubject06
b56a0370c4 Expose contact point and contact normal on VehicleWheel3D
Appease doctool by switching the order of the documentation page entries.

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Thanks, didn't see the typo in the suggested change. Brain auto corrected it.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-28 10:28:56 -04:00