Commit Graph

2833 Commits

Author SHA1 Message Date
James
80096e9e62 Fix a crash bug in LightmapGI::_assign_lightmaps triggered after reparenting
After reparenting the LightmapGI node, the following `node` would be
initialized to null:

Node *node = get_node(light_data->get_user_path(i));

Which would then crash when de-referenced further down. This fix detects
which the node has been reparented and clears its users.
2025-02-05 12:18:56 +01:00
Rémi Verschelde
954ce8643f Merge pull request #102405 from QbieShay/qbe/fix_rnd_git
Fix seed not randomizing for particles. Fix seed being stored when fixed seed is off
2025-02-05 11:34:12 +01:00
Qbieshay
2f3f6f69d9 Fix seed not randomizing for particles. Fix seed being stored when fixed seed is off 2025-02-04 12:17:21 +01:00
Rudolph Bester
b162c59097 Fix GPUParticlesCollisionHeightField3D adding collisions excluded by its layer_mask
Co-authored-by: Yahia Zakaria <yahiazakaria13@gmail.com>
2025-02-04 08:02:44 +02:00
Thaddeus Crews
b1adcba5d9 Merge pull request #102208 from clayjohn/msdf-3d
Ensure albedo texture size is available for Label3D and Sprite3D
2025-01-31 09:15:44 -06:00
clayjohn
caf235718e Ensure albedo texture size is available for Label3D and Sprite3D 2025-01-30 12:36:58 -08:00
Thaddeus Crews
97c472e43f Merge pull request #102026 from TokageItLab/fix-save-reset
Add saving flag hack to Skeleton and revert reset timing of animation
2025-01-30 11:39:03 -06:00
Silc Lizard (Tokage) Renew
cb7085340e Add saving flag hack to Skeleton and revert reset timing of animation 2025-01-28 03:52:01 +09:00
Travis Lange
3973c0b644 fix gpu_particles_3d randomizing seed when set_one_shot is called 2025-01-22 11:29:52 -05:00
Thaddeus Crews
9a2ab8514e Merge pull request #101810 from BattyBovine/collision-polygon-3d-debug-colours
Add debug colours and fills to CollisionPolygon3D.
2025-01-21 11:55:29 -06:00
Thaddeus Crews
08eb2f1a15 Merge pull request #101861 from TokageItLab/deltip
Remove dead variable `end_bone_tip_radius` from SpringBoneSimulator
2025-01-21 11:55:26 -06:00
Qbieshay
c8b0509b7c Fixed cpuparticles randomness regression caused by #92089 2025-01-21 13:23:55 +01:00
Silc Lizard (Tokage) Renew
748aa1d388 Remove dead variable end_bone_tip_radius from SpringBoneSimulator 2025-01-21 15:20:48 +09:00
BattyBovine
a3ef9de6a8 Add debug colours and fills to CollisionPolygon3D.
This brings CollisionPolygon3D up to feature parity with its counterpart
CollisionShape3D. Closes #101414.

In addition, adding this feature fixes the issue that CollisionPolygon3D
would never be rendered in exported builds, even if Visible Collision Shapes
is enabled at runtime. Closes #101413.
2025-01-20 18:27:05 -05:00
Thaddeus Crews
9303ccd337 Merge pull request #101596 from TCROC/fix-gpu-particles-3d-emitting-finished-signal-on-ready
Fix GPUParticles3D emitting `finished` signal on ready
2025-01-20 10:05:45 -06:00
Thaddeus Crews
4fb4f05b48 Merge pull request #101728 from smix8/obstacle_exit
Fix NavigationObstacle3D debug clear regression
2025-01-20 10:05:41 -06:00
Thaddeus Crews
76ecc10969 Merge pull request #101729 from TokageItLab/indivisual-spring
Fix failure to load joints with individual config in SpringBone
2025-01-20 10:05:40 -06:00
Thaddeus Crews
b7f91e7b8c Merge pull request #101794 from rburing/fti_no_warning_spam
Physics interpolation (3D): Fix warning spam
2025-01-20 10:05:33 -06:00
Thaddeus Crews
a0633ff581 Merge pull request #101631 from Syntaxxor/voxel-gi-shadow-fix
Ensure Voxelizer SDF generation uses the correct cell level
2025-01-20 10:05:28 -06:00
Ricardo Buring
4aba15eec3 Fixed Timestep Interpolation (3D): Fix warning spam 2025-01-19 11:42:47 +01:00
Silc Lizard (Tokage) Renew
ad636b7133 Fix failure to load joints with indivisual config in SpringBone 2025-01-18 09:36:21 +09:00
smix8
c734f90282 Fix NavigationObstacle3D debug clear regression
Clears NavigationObstacle3D on tree exit.
2025-01-18 01:35:58 +01:00
Thaddeus Crews
4425ce03d0 Merge pull request #101651 from TokageItLab/fix-flip-springbone
Fix glitch in `SpringBoneSimulator3D` by storing the previous frame's rotation instead of using no rotation when the axis is flipped
2025-01-17 10:16:50 -06:00
Thaddeus Crews
9875cb6c95 Merge pull request #101652 from TokageItLab/gravity-doc-springbone
Clarify `SpringBoneSimulator3D`'s gravity units and improve documentation
2025-01-17 10:16:49 -06:00
Thaddeus Crews
923eb44c6f Merge pull request #101617 from paddy-exe/processmaterial-vs-shadermaterial
Fix `emission_shape_changed` signal error when using ShaderMaterial with GPUParticles3D
2025-01-17 10:16:48 -06:00
Patrick Exner
484d6d4aa1 Fix emission_shape_changed signal error when using ShaderMaterial with 3DGPUParticles 2025-01-17 15:07:28 +01:00
Thaddeus Crews
86002e1a3c Merge pull request #100882 from smix8/node_navmesh_geo_parsers
Make nodes handle their respective navigation source geometry
2025-01-16 17:18:01 -06:00
Thaddeus Crews
9bcf5ac9f7 Merge pull request #101560 from darksylinc/matias-union-order
Fix union order to simplify empty initializers
2025-01-16 17:17:53 -06:00
Thaddeus Crews
464253e235 Merge pull request #101571 from TokageItLab/validate-rotation-axis-spring-bone
Add validation for rotation axis to SpringBoneSimulator3D
2025-01-16 17:17:50 -06:00
Silc Lizard (Tokage) Renew
912c86a2e8 Changed SpringBone to return the prev rotation instead of init 2025-01-17 07:10:02 +09:00
Silc Lizard (Tokage) Renew
8eb5443d0a Clarify SpringBone's gravity unit and improve documentation 2025-01-17 07:02:54 +09:00
Rhapsody Aria
393a13a74b Ensure voxelizer sdf generation considers the correct level 2025-01-16 13:24:46 -08:00
Travis Lange
d702e02172 fix gpu_particles_3d emitting finished signal on ready 2025-01-15 16:31:57 -05:00
Silc Lizard (Tokage) Renew
48e74af421 Add validation for rotation axis to SpringBoneSimulator3D 2025-01-15 18:29:30 +09:00
Matias N. Goldberg
7b2f1e1d09 Fix union order to simplify empty initializers
This is a followup to PR #101344 (commit
0e06eb80bc).

Some of them were not an issue because Godot was initializing all
members, but they were "fixed" just in case since it could become a
problem in the future.

Valgrind was specifically complaining about HashMapData &
GlobalPipelineData.
2025-01-14 19:05:01 -03:00
Rémi Verschelde
ddd4527747 Merge pull request #101537 from paddy-exe/fix-emission-shape-signal-regression
Fix regression from already disconnected emission shape changed signal
2025-01-14 18:29:43 +01:00
Rémi Verschelde
a69ccee151 Merge pull request #101505 from smix8/region_bounds
Add functions to get axis-aligned bounds of navigation regions
2025-01-14 15:06:06 +01:00
Patrick Exner
1d2c503b00 Fix regression from already disconnected emission shape changed signal 2025-01-14 13:20:16 +01:00
Silc Lizard (Tokage) Renew
7b3d14fbcd Fix shifted joint radius index in SpringBone gizmo/remove unused tips 2025-01-14 16:27:59 +09:00
Rémi Verschelde
2f6a18f7ff Merge pull request #101409 from TokageItLab/spring-bone
Implement SpringBoneSimulator3D to wiggle chained bones
2025-01-14 00:22:11 +01:00
Silc Lizard (Tokage) Renew
5472558a98 Implement SpringBoneSimulator3D to wiggle chained bones
Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
2025-01-14 05:43:57 +09:00
Rémi Verschelde
133db1fd60 Merge pull request #92089 from QbieShay/qbe/particle_seek
Implement particle seek request and seed options.
2025-01-13 20:21:28 +01:00
smix8
a7520fca6a Add functions to get axis-aligned bounds of navigation regions
Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.
2025-01-13 20:18:33 +01:00
Rémi Verschelde
d79ff848fa Merge pull request #101451 from TokageItLab/reset-retarget-in-the-child
Force update RetargetModifier3D's child skeletons on save
2025-01-12 18:07:37 +01:00
Rémi Verschelde
bb8001c83a Merge pull request #101450 from TokageItLab/reset-anim-skeleton
Change reset timing of the AnimationMixer and Skeleton on save
2025-01-12 18:07:32 +01:00
Rémi Verschelde
c5a62c36f5 Merge pull request #101448 from TokageItLab/save-retarget
Add missing `TOOLS_ENABLED` block to `RetargetModifier3D`
2025-01-12 18:07:25 +01:00
Rémi Verschelde
194894d937 Merge pull request #100597 from Zshandi/position-follow-editor-default-float-step
Node2D/3D: Make position follow default float step
2025-01-12 18:07:07 +01:00
smix8
0ed2cb0439 Make nodes handle their respective navigation source geometry
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
Silc Lizard (Tokage) Renew
cb61c6e852 Force update RetargetModifier3D's child skeletons on save 2025-01-12 07:31:05 +09:00
Silc Lizard (Tokage) Renew
d5e91eaa42 Change reset timing of the AnimationMixer and Skeleton on save 2025-01-12 07:12:34 +09:00