Commit graph

14766 commits

Author SHA1 Message Date
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
Rémi Verschelde
bca2c30b7d
Merge pull request #90318 from YeldhamDev/not_native_enough
Fix built-in `FileDialog` appearing instead of the native one on some cases
2024-04-08 11:21:46 +02:00
Rémi Verschelde
d56fb753a4
Merge pull request #90315 from Faless/mp/clean_dead_alloc
[MP] Fix dead code doing unnecessary allocation
2024-04-08 11:21:43 +02:00
Rémi Verschelde
892bab48e0
Merge pull request #90308 from kus04e4ek/deprecate-fix
Fix Skeleton3D build error with `deprecated=no`
2024-04-08 11:21:33 +02:00
kobewi
63bff87d7d Fix PinJoint2D deferred call error 2024-04-07 12:21:40 +02:00
Michael Alexsander
44e2c56daa
Fix built-in FileDialog appearing instead of the native one on some cases 2024-04-06 15:45:45 -03:00
Fabio Alessandrelli
e64aa4d25f [MP] Fix dead code doing unnecessary allocation
Probably a leftover from some old refactor.
2024-04-06 19:48:04 +02:00
Kusok
c0cc9d2b5e Fix deprecated=no build 2024-04-06 23:13:38 +08:00
Emmanuel Ferdman
ea5ecc6b8e
fix: update the location of editor theme 2024-04-06 18:03:13 +03:00
Rémi Verschelde
e5b4ef8e95
Merge pull request #90283 from YeldhamDev/pure_squares
Remove border roundness inside panels of `AcceptDialog` windows
2024-04-06 13:07:01 +02:00
Michael Alexsander
167b0ac8d5
Remove border roundness inside panels of AcceptDialog windows 2024-04-06 00:01:16 -03:00
Jason Lothamer
b250660ee9 fix issue where Light2D does not re-attach itself to new canvas when viewport worlds are shared 2024-04-05 17:38:42 -04:00
Silc Lizard (Tokage) Renew
21082a6834 Make AnimationMixer consider Discrete for RESET track 2024-04-06 05:37:45 +09:00
Rémi Verschelde
4ff5731705
Merge pull request #90246 from rburing/fti_2d_per_node
Fix per-node physics interpolation setting
2024-04-05 12:16:51 +02: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
Rémi Verschelde
fe784573c4
Merge pull request #90167 from ajreckof/fix-negative-value-for-position_smoothing_speed-being-allowed
Ensure `Camera2D.position_smoothing_speed` is non-negative.
2024-04-05 12:16:14 +02:00
Rémi Verschelde
b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +02:00
Rémi Verschelde
54116086af
Merge pull request #89956 from KoBeWi/warning!_self_destruct_sequence_activated
Remove Control z-index warning
2024-04-05 12:16:00 +02:00
Ricardo Buring
e6b9161246 Fix per-node physics interpolation setting
The per-node default should be ON.
2024-04-05 10:30:19 +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
kobewi
c3d2fab1e5 Remove Control z-index warning 2024-04-04 17:22:04 +02:00
ajreckof
07406af6cc Fix negative value for position_smoothing_speed being allowed. 2024-04-04 17:15:53 +02:00
Rémi Verschelde
f6a78f83aa
Merge pull request #90207 from groud/fix_no_cached_rect
Fix "no cached rect" errors in TileMapLayer editor
2024-04-04 17:09:26 +02:00
Rémi Verschelde
63135ac753
Merge pull request #89975 from AThousandShips/tile_fix_exit
[TileMap] Fix forcing cleanup on exiting tree/canvas
2024-04-04 17:09:11 +02:00
Rémi Verschelde
0c71ba7801
Merge pull request #89880 from dsnopek/openxr-composition-layers-node3d-drs
Add support for OpenXR composition layers
2024-04-04 17:09:07 +02:00
Gilles Roudière
c928273c6c Fixes "no cached rect" errors in TileMapLayer editor 2024-04-04 16:28:31 +02:00
David Snopek
0f2b804059 Add support for OpenXR composition layers
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-04-04 09:20:23 -05:00
Hendrik Brucker
a81561cbd9 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +02:00
A Thousand Ships
09edece17d
[TileMap] Fix forcing cleanup on exiting tree/canvas 2024-04-04 14:47:32 +02:00
Rémi Verschelde
ffa650f1d8
Merge pull request #90113 from smix8/draw_2d_outlines
Make physics debug respect shape outline setting inside editor
2024-04-04 14:37:21 +02: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