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
f2ee46b3f3
Merge pull request #90518 from bruvzg/rtl_new_delete
...
[RTL] Rewrite `remove_paragraph` code.
2024-04-22 12:51:59 +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
smix8
b9225f67c8
Warn that navigation mesh baking from Meshes is bad for runtime performance
...
Warns that navigation mesh baking from Meshes is bad for runtime performance.
2024-04-22 12:49:47 +02:00
bruvzg
0adb55423d
[RTL] Rewrite remove_paragraph
code.
2024-04-22 10:32:24 +03:00
aaronp64
ff60f7b6d4
Handle compressed images in TileSetAtlasSource::_create_padded_image_texture
...
Check for compressed image and decompress if needed
Fixes #78755
2024-04-21 21:36:12 -04:00
smix8
2594c57361
Add NavigationMeshSourceGeometryData append functions
...
Adds append functions to NavigationMeshSourceGeometryData.
2024-04-21 04:57:05 +02:00
Haoyu Qiu
fd14ba34d1
Fix TabContainer not redrawing after toggling tab icon
2024-04-20 21:08:46 +08:00
Aaron Franke
b1f5e9fe3a
Rename internal is_ascii_char to is_ascii_alphabet_char
2024-04-20 02:36:41 -07:00
Lyuma
a99756a07f
Expose create_from_arrays in SurfaceTool and cleanup some naming
2024-04-19 18:45:06 -07: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
kobewi
c7b6cf9f6d
Don't store TileMapLayer data if empty
2024-04-19 18:05:48 +02:00
Rémi Verschelde
626c6a0ff8
Merge pull request #90874 from Zylann/fix_graph_frame_crash
...
Fix crash when GraphFrame `sb_to_draw_panel` is not a StyleBoxFlat
2024-04-19 16:28:24 +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
a523532d18
Merge pull request #90852 from timothyqiu/padding-always
...
Fix buttons offset to the right when dialog is at minsize
2024-04-19 16:27:56 +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
Lyuma
bb9674c1b1
Set animation step from importers. Increase default step from 10 to 30 FPS.
2024-04-19 03:02:20 -07: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
Marc Gilleron
f3e6d23405
Fix crash when GraphFrame sb_to_draw_panel is not a StyleBoxFlat
2024-04-18 21:33:02 +01:00
kobewi
9ab3ff04ac
Don't translate ColorPicker color labels
2024-04-18 20:26:56 +02: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
Haoyu Qiu
b2d5a06828
Fix buttons offset to the right when dialog is at minsize
2024-04-18 21:12:34 +08:00
Haoyu Qiu
c78e9c3fbd
Fix TreeItem button handling
...
- Fix incorrect tooltip and `get_button_id_at_position()` when column
title is visible and when RTL layout is used
- Take `button_margin`, `h_separation`, and `item_margin` into account
2024-04-18 18:51:36 +08:00
Rémi Verschelde
2543d192c3
Merge pull request #90842 from timothyqiu/revert-79792
...
Revert "Correctly display tooltips for buttons in Tree when they overlap cell content
2024-04-18 12:25:08 +02:00
Rémi Verschelde
a202027efe
Merge pull request #90838 from bruvzg/btn_theme_rounding
...
[Button] Fix theme elements size rounding errors not keeping sufficient space for the text.
2024-04-18 12:25:05 +02:00
Rémi Verschelde
2d884ba70c
Merge pull request #90797 from Geometror/vsnode-comment-compat
...
[Compatibility] Add stub for VisualShaderNodeComment
2024-04-18 12:24:50 +02: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
Rémi Verschelde
0dfb48e58d
Merge pull request #89693 from Calinou/dialogs-add-button-minimum-size
...
Add minimum width/height to dialog buttons
2024-04-18 12:24:20 +02:00
Rémi Verschelde
043ca7c63c
Merge pull request #88306 from KoBeWi/PropertyListHelper_will_come_for_you
...
Add PropertyListHelper in all simple cases
2024-04-18 12:24:17 +02:00
Rémi Verschelde
3a88373a4c
Merge pull request #86553 from Koyper/fix_popup_panel_content_scaling
...
Fix non-embedded tooltips, popups and dialogs resizing to match Viewport content scale factors != 1.0
2024-04-18 12:24:11 +02:00
Haoyu Qiu
00f0043227
Revert "Correctly display tooltips for buttons in Tree when they overlap cell content"
...
This reverts commit 8278a5f274
.
2024-04-18 17:35:26 +08:00
Lyuma
cb7ef2b8de
Add SkeletonIK3D get/set_interpolation compat from #87888
2024-04-18 01:49:12 -07:00
bruvzg
45bde2b5b0
[Button] Fix theme elements size rounding errors not keeping sufficient space for the text.
2024-04-18 11:48:46 +03:00
Hendrik Brucker
735c45dc8e
[Compatibility] Add stub for VisualShaderNodeComment
2024-04-18 02:39:29 +02:00
Hugo Locurcio
1e8526659c
Add minimum width/height to dialog buttons
...
This makes buttons with short texts such as "OK" or "Close"
easier to click, especially on a touchscreen.
This is exposed to projects via `buttons_min_width` and `buttons_min_height`
theme items in AcceptDialog (and therefore ConfirmationDialog and FileDialog),
with the default values being 0 to preserve compatibility with existing projects.
2024-04-17 23:48:05 +02: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
Koyper
0881c81c13
Fix non-embedded Windows resizing to match Viewport content scale factor
2024-04-17 09:30:16 -05:00
yds
4077129f9d
Fix RayCast3D's debug draw transform not updating
2024-04-17 11:21:53 -03:00
Marcel Offermans
e64b4243c3
Added a specific check for the corner case that went wrong.
2024-04-17 12:01:01 +02:00
Rémi Verschelde
01eb81ba48
Merge pull request #90752 from groud/fix_tilemap_y_sort
...
Fix TileMap enabling Y-sort on child nodes
2024-04-17 10:59:04 +02:00
Rémi Verschelde
ce0744866d
Merge pull request #90747 from smix8/remove_constrain_avoidance
...
Remove experimental `constrain_avoidance` from `NavigationRegion2D`
2024-04-17 10:58:55 +02:00
Rémi Verschelde
fad6897af0
Merge pull request #90639 from YeldhamDev/stay_open_please
...
Fix submenus erroneously closing on some occasions
2024-04-17 10:58:46 +02: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
smix8
df66a55ef3
Remove experimental constrain_avoidance from NavigationRegion2D
...
Removes experimental constrain_avoidance feature from NavigationRegion2D.
2024-04-16 18:02:53 +02:00
Gilles Roudière
96b6199de9
Fix TileMap enabling Y-sort on child nodes
2024-04-16 16:02:55 +02: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
Rémi Verschelde
dc8e82b00a
Merge pull request #90730 from timothyqiu/root-auto-translate
...
Add project setting for root node auto translate mode
2024-04-16 13:31:00 +02:00
Rémi Verschelde
09825bcc1a
Merge pull request #90729 from aaronfranke/move-nav-msgd
...
Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfolders
2024-04-16 13:30:57 +02:00
Rémi Verschelde
ac25b3dd6a
Merge pull request #90438 from TokageItLab/vl-vs-bz
...
Separate value/bezier track caching process in AnimationMixer
2024-04-16 13:30:44 +02:00
Haoyu Qiu
8d1cb7e74c
Add project setting for root node auto translate mode
2024-04-16 11:02:04 +08: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
e1dd1f49c0
Merge pull request #90571 from KoBeWi/you're_too_old,_upgrade_to_newer_format
...
Improve error when scene/resource is saved with newer format
2024-04-15 13:41:15 +02:00
kobewi
445302a4b2
Improve error when scene/resource is saved with newer format
2024-04-15 12:08:35 +02:00
bruvzg
524a20f460
[RTL] Add support for character code bb tag.
2024-04-15 11:25:50 +03:00
Rémi Verschelde
c951421c99
Merge pull request #90268 from RandomShaper/wtp_servers
...
Use WorkerThreadPool for Server threads (enhanced)
2024-04-15 10:12:00 +02:00
Rémi Verschelde
a44b0b6dc1
Merge pull request #90685 from timothyqiu/auto-translate-legacy
...
Don't store deprecated `auto_translate` property
2024-04-15 10:00:38 +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
Rémi Verschelde
88033ea8c6
Merge pull request #90637 from aaronp64/force_native_crash
...
Fix `Window.hide()` crash when `force_native` changes
2024-04-15 10:00:29 +02:00
Rémi Verschelde
673e770a8d
Merge pull request #90575 from TokageItLab/boneattachment-performance
...
Remove `bone_pose_updated` signal and replace it with the `skeleton_updated` signal
2024-04-15 10:00:26 +02:00
Rémi Verschelde
fac55137a1
Merge pull request #89627 from markdibarry/parallax2d_scroll_scale
...
Account for scale in scroll logic for `Parallax2D`
2024-04-15 10:00:15 +02:00
Haoyu Qiu
48f1e5b561
Don't store deprecated auto-translate property
2024-04-15 14:23:24 +08:00
Haoyu Qiu
4176102a5e
Store ObjectID instead of pointer for KinematicCollision owner
2024-04-15 12:28:36 +08:00
Rémi Verschelde
41fc152232
Merge pull request #90633 from YeldhamDev/the_popup_is_not_wearing_any_panels
...
Remove `Popup`'s unused "panel" style
2024-04-14 14:39:15 +02:00
Michael Alexsander
7c75355541
Remove Popup
's unused "panel" style
2024-04-13 15:18:12 -03:00
Michael Alexsander
978ffb39bf
Fix submenus erroneously closing on some occasions
2024-04-13 15:10:19 -03:00
aaronp64
4ed51933f9
Fix Window.hide() crash when force_native changed
...
Moved force_native = p_force_native assignment to after is_visible() check, to prevent value from changing after window is shown.
Fixes #90609
2024-04-13 14:03:29 -04:00
Aaron Franke
6dd4a68797
Reorganize some code to have 2D things grouped together
2024-04-13 02:56:50 -07:00
Bernat Arlandis
0a68876348
Remove some unused SceneTree properties
2024-04-13 00:56:01 +02:00
Silc Lizard (Tokage) Renew
78a5ef4158
replace bone_pose_updated to skeleton_updated signal
2024-04-13 05:48:42 +09:00
kobewi
e95e954c68
Add PropertyListHelper in all simple cases
2024-04-11 18:13:29 +02:00
smix8
1c134f4a3d
Add navigation path simplification
...
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +02:00
markdibarry
18e8b81ffa
Account for scale in scroll logic for Parallax2D
2024-04-10 18:05:05 -04: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
smix8
497afeaf05
Fix NavigationMeshSourceGeometryData merge crash
...
Fixes crash when trying to merge with a null source geometry.
2024-04-10 21:56:21 +02:00
Pedro J. Estébanez
c28f5901c7
Polish interaction between windowing, input and rendering
...
- Adapt GL make/release API to the current architecture.
- Fix DisplayServer being locked while dispatching input (prevent deadlocks).
2024-04-10 18:47:42 +02:00
Rémi Verschelde
42e8f42d87
Merge pull request #90455 from kitbdev/te-fix-caret-line-end
...
Fix caret last fit when moving to line end
2024-04-10 17:49:53 +02:00
Rémi Verschelde
8764769ee8
Merge pull request #89186 from groud/save_byte_arrays_as_base64_encoded
...
Save PackedByteArrays as base64 encoded
2024-04-10 17:49:24 +02:00
A Thousand Ships
64146cb7f3
[Core] Add iteration support to Array
2024-04-10 14:49:34 +02:00
Rémi Verschelde
5d4507b914
Merge pull request #90472 from bruvzg/rtl_dc_pr_vc
...
[RTL] Fix dropcaps and list prefixes not taking visible characters into account.
2024-04-10 14:22:44 +02:00
Rémi Verschelde
9c5e968bbc
Merge pull request #90432 from Rindbee/correctly-replace-scene-root-when-must_reload
...
Correctly replace scene root when `must_reload` in `EditorData::check_and_update_scene()`
2024-04-10 14:22:29 +02:00
Lyuma
2854d0a7ca
Expose MeshInstance3D.get_skin_reference and add docs
2024-04-10 14:12:25 +02:00
bruvzg
d34c1f7733
[RTL] Fix dropcaps and list prefixes not taking visible characters into account.
2024-04-10 11:08:57 +03:00
ajreckof
248e5bfba2
Revert what needs to be reverted
2024-04-10 09:49:30 +08:00
Rémi Verschelde
c8fb248f92
Merge pull request #88056 from BastiaanOlij/gles_reflection_probes
...
Add reflection probe support to compatibility renderer
2024-04-09 22:25:07 +02:00
Rémi Verschelde
bff6955459
Merge pull request #85024 from Jordyfel/moving-scripts-of-types-of-exported-typed-arrays
...
When saving a resource with an exported typed array, check whether the type is an external resource
2024-04-09 22:25:00 +02:00
kit
a1bde1b9db
Fix caret last fit when moving to line end
2024-04-09 14:06:57 -04:00
Silc Lizard (Tokage) Renew
9855ffd2e4
Separate value/bezier track caching process in AnimationMixer
2024-04-10 01:37:23 +09:00
Jordyfel
82de00a174
Type of exported typed array can be external resource
2024-04-09 15:28:42 +03:00
Bastiaan Olij
509d8dba2a
Add reflection probe support to compatibility renderer using 2 probe approach.
2024-04-09 16:53:28 +10:00
Michael Alexsander
adea1a4b9b
Fix TabContainer
desync when tabs share names
2024-04-09 02:02:05 -03:00
Rémi Verschelde
a5565c86ff
Merge pull request #90384 from groud/dont_save_some_default_tileset_props
...
TileSet: don't save angular and linear physics velocities if they have their default values
2024-04-08 15:03:31 +02:00
Rémi Verschelde
e68f03a083
Merge pull request #90282 from jhlothamer/issue_84221
...
Fix sharing World2D between SubViewports causes 2D lights of one SubViewport to go missing
2024-04-08 15:03:28 +02:00
Gilles Roudière
bde8d44104
TileSet: don't save angular and linear physics velocities if they have their default values
2024-04-08 14:17:08 +02:00
Rémi Verschelde
2e1f33793f
Merge pull request #90340 from KoBeWi/FixJoint2D
...
Fix PinJoint2D deferred call error
2024-04-08 11:21:54 +02:00