Jamie Pate
eb5f1299b2
Fix dynamic-stack-buffer-overflow crash when executing random functions on random physics objects
...
Fixes #92333
This looks correct, and fixes the ASAN assertion I'm currently getting
in my program.
2024-07-18 19:22:03 -07:00
Rémi Verschelde
43902f43d5
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
...
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
2024-07-18 10:45:33 +02:00
Silc Lizard (Tokage) Renew
9c1f23c3db
Re-add Skeleton3D::animate_physical_bones
2024-07-14 14:24:25 +09:00
BlueCube3310
60a255a0d0
Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas
2024-07-13 13:10:04 +02:00
Valeriy Molchanov
32369d2b6d
Fix Issue #94145 Incorrect text in the Node Configuration Warning dialog
...
Fix some translations
Revert "Fix some translations"
This reverts commit 61e586ef84fb962eefdc14593241c1d8b0fb7b6b.
Revert "Fix Issue #94145 Incorrect text in the Node Configuration Warning dialog"
This reverts commit d0832dc5e7f0657744780cdfc97ed40772ea717c.
msgid
warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Sprite Frames\"
revert editor/translations/editor
2024-07-09 22:36:18 +02:00
Ricardo Buring
2f8ab4a654
Fixed Timestep Interpolation (3D)
...
Adds 3D fixed timestep interpolation to the rendering server.
This does not yet include support for multimeshes or particles.
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-07-07 22:15:23 +02:00
Ricardo Buring
23521635d2
Fix physics tick counter
...
The counter is now incremented at the start of a physics tick rather than at the end.
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-07-07 19:04:05 +02:00
Silc Lizard (Tokage) Renew
59667f8ea2
Fix property type of Sprite3D frame_coords
to Vector2i from Vector2
2024-07-06 05:36:45 +09:00
Hugo Locurcio
33e1f570ff
Fix GPUParticles Inherit Velocity breaking with physics movement
...
GPUParticles' Inherit Velocity property used to act strangely
if the physics tick rate was lower than the rendered FPS, as velocity
was tracked in the process and not in the physics process. This
means that on certain rendered frames, the velocity was effectively
0 since there was no movement since the last rendered frame.
2024-07-02 01:46:57 +02:00
Silc Lizard (Tokage) Renew
c57a8114d4
Reset when disabling override pose in BoneAttachment3D
2024-06-28 00:48:26 +09:00
Robocraft999
dc6e664fda
Fix AnimationSprite2D/3D::play using wrong end_frame
...
On playing a different animation to the current backwards will start the new animation on the last animations last frame not the new ones
2024-06-26 13:50:44 +02:00
Silc Lizard (Tokage) Renew
793f3832e5
Rework migration of animate_physical_bones to compatibility
2024-06-25 18:54:59 +09:00
Silc Lizard (Tokage) Renew
5774d57496
Optimize update flag by SkeletonModifier
2024-06-23 17:01:01 +09:00
A Thousand Ships
0ae4298a3a
Fix invalid inheritance of OccluderInstance3D
2024-06-19 16:47:37 +02:00
Rémi Verschelde
19bf77f666
Merge pull request #91382 from adamscott/sample-player
...
Add sample playback support
2024-06-19 07:59:07 +02:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color)
2024-06-18 17:24:27 +02:00
Adam Scott
52fa4f05f3
Add samples playback support
2024-06-18 11:06:31 -04:00
Silc Lizard (Tokage) Renew
05c0d22afc
Fix child bones of the physical bone aren't modified
2024-06-11 14:43:17 +09:00
Rémi Verschelde
821338c0d1
Merge pull request #92925 from TokageItLab/concatenated-bone-names
...
Add `get_concatenated_bone_names()` to `Skeleton3D` for `SkeletonModifier3D`'s enum hints
2024-06-10 16:12:08 +02:00
Silc Lizard (Tokage) Renew
a57f9f863d
Add get_concatenated_bone_names() to Skeleton3D for Modifier's hint
2024-06-10 10:19:36 +09:00
smix8
c2204f2681
Change 3D navigation edge connection margin debug to only show virtual edge
...
Change navigation edge connection margin debug from a flat rectangle that looks like a polygon to a simple line edge.
2024-06-09 17:02:22 +02:00
Silc Lizard (Tokage) Renew
e92a453840
Expose get_skeleton() from SkeletonModifier3D
2024-06-09 23:58:05 +09:00
Rémi Verschelde
8adf9e4d97
Merge pull request #92302 from jsjtxietian/debug-shape-null
...
Fix null `debug_shape` being updated when `CollisionObject3D`'s transform changed
2024-05-30 22:38:33 +02:00
Valden
0f50b6b608
Propagate reset_physics_interpolation through RemoteTransform2D/3D
2024-05-28 20:23:25 +02:00
jsjtxietian
2546dada75
Fix null debug_shape
being updated when CollisionObject3D
's transform changed
2024-05-24 12:56:20 +08:00
smix8
a545ba0bb7
Fix NavigationRegion3D not reacting to runtime debug enabled change
...
Fixes NavigationRegion3D not reacting when the main debug enabled property got changed as it only looked at the navigation mesh specific debug.
2024-05-23 20:01:47 +02:00
Dario
e54b928974
Replace List with LocalVector on Skeleton3D's bone transform update.
2024-05-20 11:58:36 -03:00
Rémi Verschelde
693a13a849
Merge pull request #91601 from lander-vr/lightmap_seams_fix
...
LightmapGI: Fix lightleaks caused by insufficient padding and add denoiser range property for LightmapGI
2024-05-15 13:51:35 +02:00
Rémi Verschelde
77470740de
Merge pull request #91936 from jsjtxietian/body-connect
...
Avoid duplicate connect in Joint2D and Joint3D `_update_joint`
2024-05-15 12:09:50 +02:00
landervr
e7bd1b0673
Add denoiser range property for LightmapGI
2024-05-15 08:26:04 +02:00
jsjtxietian
51bc55598c
Avoid duplicate connect in Joint2D::_update_joint
and Joint3D
2024-05-15 11:57:51 +08:00
kobewi
59f05ed31a
Cleanup unused/underused singleton StringNames
2024-05-14 18:18:29 +02:00
Rémi Verschelde
de329556f7
Merge pull request #91449 from Arnklit/particles-emission-ring-shape-fix2
...
Fix sqrt application for radius in particle ring emission
2024-05-14 18:09:47 +02:00
Kasper Arnklit Frandsen
94eefe168a
Fix sqrt application for radius in particle ring emission
2024-05-14 12:22:21 +01:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
c469ab0104
Merge pull request #91507 from lyuma/expose_process_modification
...
Allow users to override `SkeletonModifier3D._process_modification`
2024-05-10 09:55:44 +02:00
Lyuma
1ccf0c2947
Allow users to override SkeletonModifier3D._process_modification
2024-05-09 19:48:56 -07:00
A Thousand Ships
a0dbdcc3ab
Replace find
with contains/has
where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Jakub Marcowski
7699d678c4
Fix builtin_embree=no
build linking the wrong version of Embree
2024-05-08 00:40:45 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
...
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
Rémi Verschelde
16eb8dbdc0
Merge pull request #89595 from apples/89559-cpuparticles3d-angle-rotate_y-fix
...
Fix `CPUParticles3D` using angle incorrectly when `ROTATE_Y` is set.
2024-05-06 15:14:53 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Rémi Verschelde
84013a31ea
Merge pull request #91122 from TokageItLab/simulator-memdel
...
Modify allocation process of the PhysicalBoneSimulator in Skeleton3D
2024-05-04 11:52:22 +02:00
Rémi Verschelde
a5d4ddc18a
Merge pull request #90517 from TokageItLab/cache-bones-mod
...
Static allocation bones copy for SkeletonModifier
2024-05-04 11:52:19 +02:00
Rémi Verschelde
471ddf4327
Merge pull request #87231 from Calinou/geometryinstance3d-transparency-warn-mobile-compatibility
...
Show warning for GeometryInstance3D transparency in Mobile/Compatibility
2024-05-04 11:52:06 +02:00
Silc Lizard (Tokage) Renew
a22923daf7
Static allocation bones copy for SkeletonModifier
...
Co-authored-by: SlugFiller <5435495+SlugFiller@users.noreply.github.com>
2024-05-04 11:16:26 +09:00
Silc Lizard (Tokage) Renew
4900dddb88
Modify allocation process of the PhysicalBoneSimulator in Skeleton3D
2024-05-03 06:00:10 +09:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of Vector*
min/max/clamp/snap(ped)
...
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
Kasper Arnklit Frandsen
af22d504da
Fix particle cylinder emission shape random distribution
2024-04-30 17:24:58 +01:00
Rémi Verschelde
ec73f5631c
Merge pull request #91335 from devloglogan/xr-hand-modifier-update
...
Store previous relative transforms in `XRHandModifier3D`
2024-04-30 17:03:53 +02:00
devloglogan
a35196ba22
Store previous relative transforms in XRHandModifier3D
2024-04-30 08:59:40 -05:00
Rémi Verschelde
ba27c0c31c
Merge pull request #91177 from markusstephanides/master
...
Add no-change check to `Label3D::set_text`
2024-04-29 10:09:49 +02:00
kobewi
0b877a9962
Expose is_part_of_edited_scene()
2024-04-26 11:49:38 +02:00
Rémi Verschelde
0a6335924a
Merge pull request #91031 from Malcolmnixon/old-body-tracker-signals
...
Subscribe to correct tracker signals
2024-04-26 11:08:35 +02:00
Markus Stephanides
c14b395c78
Add no-change check to Label3D
2024-04-25 22:13:20 +02:00
Rémi Verschelde
f819c77d27
Merge pull request #90915 from rburing/no_more_speedrun
...
Fix `move_and_slide` wall slide acceleration (3D)
2024-04-25 12:11:13 +02:00
Malcolm Nixon
00f3dd0337
Subscribe to correct tracker signals
2024-04-22 18:40:18 -04:00
Rémi Verschelde
bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
...
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde
79557e7d0b
Merge pull request #76725 from smix8/meshbake_blendshapemix_4.x
...
Add option to bake a mesh from blend shape mix
2024-04-22 12:51:29 +02:00
Ricardo Buring
80c600d86b
Fix move_and_slide wall slide acceleration (3D)
...
When travel is high enough, keep the global position resulting from the
move_and_collide call, and set the motion to the remainder from the
move_and_collide call. This ensures travel is taken into account once,
rather than twice.
2024-04-19 19:40:01 +02:00
Rémi Verschelde
e34399cdcb
Merge pull request #90861 from aaronp64/audio_stream_player_nan
...
Check for NaN in `set_volume_db` functions
2024-04-19 16:28:11 +02:00
Rémi Verschelde
1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
...
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
Rémi Verschelde
42e6f9a9d8
Merge pull request #76140 from jeronimo-schreyer/add_secondary_light_to_3d_resource_importer
...
Added secondary light to 3D Advanced Import Settings
2024-04-19 16:26:42 +02:00
Malcolm Nixon
823ae7b3fa
Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility.
2024-04-18 20:04:01 -04:00
Bogdan Inculet
8caa1b8783
Add Gizmo to display 3D custom AABB
2024-04-19 02:31:30 +03:00
aaronp64
58931c073d
Check for NaN in set_volume_db functions
...
Added check in AudioStreamPlayer, AudioStreamPlayer2D, and AudioStreamPlayer3D set_volume_db functions to prevent setting volume to NaN, and give an error. Using NaN for volume and playing the AudioStreamPlayer could prevent all audio from playing, even from other AudioStreamPlayers.
Fixes #88133
2024-04-18 11:28:57 -04:00
Rémi Verschelde
be9b298317
Merge pull request #90780 from lyuma/skeletonik3d_compat
...
Add SkeletonIK3D `get`/`set_interpolation` compat from #87888
2024-04-18 12:24:44 +02:00
Rémi Verschelde
6a70a69d1f
Merge pull request #90702 from permelin/fix-lightmap-warnings
...
LightmapGI: Reduce warnings and increase probe accuracy
2024-04-18 12:24:37 +02:00
Rémi Verschelde
d2ec3714d7
Merge pull request #90584 from BMagnu/fix_global_rotation_matrix
...
Fix `Node3D.set_global_rotation()` resetting node scale.
2024-04-18 12:24:27 +02:00
Lyuma
cb7ef2b8de
Add SkeletonIK3D get/set_interpolation compat from #87888
2024-04-18 01:49:12 -07:00
Rémi Verschelde
54ba8d6882
Merge pull request #90810 from Arnklit/particles_processing_ring_shape_emission_axis_fix
...
Fix shader crash on zero vector and negative x vector in particles processing
2024-04-17 20:26:50 +02:00
Kasper Frandsen
f8d08a8376
fix: avoid shader crash on null vector and negative x vector
2024-04-17 17:33:30 +01:00
yds
4077129f9d
Fix RayCast3D's debug draw transform not updating
2024-04-17 11:21:53 -03:00
Jeronimo Schreyer
c3bc768d64
Make Advanced Import lights more like the mesh and material editors
...
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-04-16 10:15:25 -07:00
Birk Magnussen
dd97ff44ab
Fixes the issue where setting global rotation would reset scale.
...
This was caused because the basis for the target global transform was entirely recreated. This process did not account for the scale of the basis of the current global transform.
This PR amends this by scaling the recreated basis for the global transform by the current global scale of the Node3D.
Note that this scaling has to be done from the current global scale and not from the local scale of the Node3D, otherwise issues would arise if parents of this Node3D would be scaled.
2024-04-16 13:43:00 +02:00
Aaron Franke
77e35cf781
Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfolders
2024-04-15 18:40:43 -07:00
Per Melin
a990e42207
LightmapGI: Reduce warnings and increase probe accuracy
2024-04-15 18:57:53 +02:00
Rémi Verschelde
4e1ed6bc23
Merge pull request #90668 from timothyqiu/owner-id
...
Store `ObjectID` instead of pointer for KinematicCollision owner
2024-04-15 10:00:32 +02:00
Haoyu Qiu
4176102a5e
Store ObjectID instead of pointer for KinematicCollision owner
2024-04-15 12:28:36 +08:00
Silc Lizard (Tokage) Renew
78a5ef4158
replace bone_pose_updated to skeleton_updated signal
2024-04-13 05:48:42 +09:00
smix8
1c134f4a3d
Add navigation path simplification
...
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +02:00
smix8
5d6e8d7dff
Add option to bake a mesh from blend shape mix
...
Adds option to bake a mesh from blend shape mix.
2024-04-10 23:35:28 +02:00
Lyuma
2854d0a7ca
Expose MeshInstance3D.get_skin_reference and add docs
2024-04-10 14:12:25 +02:00
Bastiaan Olij
509d8dba2a
Add reflection probe support to compatibility renderer using 2 probe approach.
2024-04-09 16:53:28 +10:00
Kusok
c0cc9d2b5e
Fix deprecated=no build
2024-04-06 23:13:38 +08:00
Rémi Verschelde
4d20840b11
Merge pull request #90231 from TokageItLab/mod-reset
...
Remove unavailable property binding `reset_on_save` from Skeleton3D
2024-04-05 12:16:44 +02:00
Rémi Verschelde
63db50654a
Merge pull request #90217 from Calinou/editor-decal-allow-greater-emission-energy
...
Allow Decal Emission Energy values above 128 in the inspector
2024-04-05 12:16:31 +02:00
Silc Lizard (Tokage) Renew
bf3ef56c2f
Remove unavailable property binding reset_on_save from Skeleton3D
2024-04-05 08:47:50 +09:00
Hugo Locurcio
ae12244e13
Allow Decal Emission Energy values above 128 in the inspector
...
This also sets the maximum value for the slider to 16 to match
BaseMaterial3D (higher values can be entered or dragged manually).
2024-04-04 21:19:17 +02:00
Silc Lizard (Tokage) Renew
04dd299cba
Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB
2024-04-05 01:28:26 +09:00
Rémi Verschelde
7c6892662d
Merge pull request #90095 from QbieShay/qbe/fix-cpuparticle-instancew
...
Fix `INSTANCE_CUSTOM.w` not being assigned correctly in CPUParticles 2D and 3D
2024-04-04 14:37:15 +02:00
QbieShay
1d81068be7
Fixed INSTANCE_CUSTOM.w not being assigned correctly in CPUParticles 2D and 3D
2024-04-01 14:00:40 +02:00
kobewi
25f9f923a1
Rename some arguments called "position"
2024-03-27 01:28:24 +01:00
Rémi Verschelde
21dc88bf74
Merge pull request #89727 from Malcolmnixon/fix-avatars-without-root-bone
...
Fix XRBodyModifier3D hip driving for avatars no Root bone
2024-03-24 01:22:50 +01:00
Malcolm Nixon
435eb06e4b
Fix for avatars without a root bone.
2024-03-20 23:56:10 -04:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
Apples
a002b212df
Fixed CPUParticles3D using angle incorrectly when ROTATE_Y is set.
2024-03-17 01:07:10 -05:00
smix8
5d5e85fe07
Add NavigationObstacle options to affect and carve navigation mesh
...
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +01:00
Rémi Verschelde
c6d5a782c7
Merge pull request #89468 from MrPersonDev/increase-rigidbody-mass-precision
...
Increase precision of RigidBody `mass` property
2024-03-14 22:35:16 +01:00