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
Yuri Rubinsky
56d843724e
Prevent expanding output port in visual shader expression
2024-04-19 11:49:10 +03: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
bruvzg
fe8737da49
[RTL] Move shadow and foreground/background boxes drawing into a separate draw steps.
2024-04-09 21:44:53 +03: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
Rémi Verschelde
0df9c16d81
Merge pull request #89993 from Sauermann/fix-textedit-clip-contents
...
Make `TextEdit.clip_contents` more transparent to users
2024-04-04 14:35:54 +02:00
Rémi Verschelde
b345614adb
Merge pull request #89977 from aqfranco/master
...
Fix TreeItem shows cell edit in the wrong column when `select_mode=Row` and TreeItem has multiple columns
2024-04-04 14:35:44 +02:00
Rémi Verschelde
b77ac0a2b3
Merge pull request #89933 from jsjtxietian/path3d-remove
...
Support "clear points" function in Path3D topmenu bar
2024-04-04 14:35:27 +02:00
Rémi Verschelde
4abe9183e3
Merge pull request #89926 from Sauermann/fix-button-mask-special-case
...
Fix a special case for button masks
2024-04-04 14:35:24 +02:00
Rémi Verschelde
32dcaa0659
Merge pull request #89920 from Sauermann/fix-event-order
...
Prohibit execution of delayed input events by different means
2024-04-04 14:35:20 +02:00
Rémi Verschelde
27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
...
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +02:00
Rémi Verschelde
2ac88339e4
Merge pull request #89721 from KoBeWi/position_who
...
Rename some arguments called "position"
2024-04-04 14:31:35 +02:00
Rémi Verschelde
f69fab5bfd
Merge pull request #89575 from TokageItLab/move-loop-check-state
...
Move the line of infinity loop checking in AnimationStateMachine
2024-04-04 14:31:28 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
...
Expose TileMapLayer
2024-04-04 14:31:16 +02:00
Rémi Verschelde
734a2543ae
Merge pull request #87889 from smix8/heightmap_image
...
Add HeightMapShape3D update with Image data
2024-04-04 14:30:45 +02:00
Rémi Verschelde
84b3d14c9a
Merge pull request #82852 from timothyqiu/property-context
...
Add context support for editor property name i18n
2024-04-04 14:30:29 +02:00
Rémi Verschelde
f47f4a02c8
Merge pull request #89992 from ajreckof/fix-my-mistake-with-replace-in-update-scene
...
Fix node duplication in update after external changes.
2024-04-04 02:53:57 +02:00
smix8
924a5c6573
Add HeightMapShape3D update with Image data
...
Adds HeightMapShape3D update with Image data.
2024-04-04 02:10:00 +02:00
ajreckof
ae472865d0
fix node duplication in update after external changes.
2024-04-03 12:19:38 +02:00
Gilles Roudière
3cd4b2859c
Expose TileMapLayer
2024-04-03 11:02:34 +02:00
smix8
07bbaf267d
Make physics debug respect outline setting inside editor
...
Make physics debug respect outline setting inside editor instead of always returning true no matter the actual setting.
2024-04-01 19:52:57 +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
Haoyu Qiu
479b7afa8e
Add context support for editor property name i18n
2024-03-31 18:40:14 +08:00
A Thousand Ships
334449df70
[Animation] Expose SkeletonProfile.set/is_required
2024-03-30 20:57:55 +01:00
Markus Sauermann
94e1943f02
Make TextEdit.clip_contents
more transparent to users
...
Instead of ignoring `TextEdit.clip_contents`, use it with a default
value `true`. in the same way as `RichTextLabel`.
2024-03-28 21:07:27 +01:00
Markus Sauermann
48ea019322
Fix a special case for button masks
...
In certain situations it is possible that in a `Viewport` the same
mouse button is pressed twice in series without releasing it in
between.
In this case, focus stealing should happen to ensure, that the
mouse button is not sent unintentionally to the previously focused
Control node.
2024-03-28 20:22:49 +01:00
Andre Franco
5c19fcbd57
Fix #88892 : TreeItem shows cell edit in the wrong column when SelectMode=Row and TreeItem has multiple columns
...
Editor would not be brought up when clicking on all but the last column on a TreeItem with SelectMode=Row with
multiple columns and when the editor was being brought up when clicking on the last column, it was editing the first column
Fixed draw_item, gui_input and edit_selected functions by setting set_meta parameter for each column
Fixed select_single_item function by changing selected_col depending on input
2024-03-28 15:31:42 +00:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor.
2024-03-28 11:53:03 +02:00
Rémi Verschelde
af08342fd8
Merge pull request #89957 from warriormaster12/regress-dup
...
Fix regression when duplicating a node with a resource attached
2024-03-28 10:47:39 +01:00
Rémi Verschelde
4e4bc3b39a
Merge pull request #89911 from AThousandShips/peering_bit
...
[TileSet] Expose `TileData.is_valid_terrain_peering_bit`
2024-03-28 10:47:18 +01:00
Markus Sauermann
945babc619
Prohibit execution of delayed input events by different means
...
In some cases it can happen, that the order of input events and
window events is not followed, when input buffering or input accumulation
is active.
The display server order `InputEvent` => window-event gets changed to
window-event => `InputEvent` which becomes problematic in certain
situations.
This PR makes sure, that the order is adhered to by flushing input events
before a window event is sent.
Previously this problem was mitigated by discarding these delayed events.
But this solution was problematic in the setting of android input events.
2024-03-27 20:58:15 +01:00
warriormaster12
9533543aa5
Fix duplicating resources regression
2024-03-27 11:51:29 +02:00
jsjtxietian
34eff85014
Support “clear points” function in Path3D editor
2024-03-27 12:40:30 +08:00
kobewi
25f9f923a1
Rename some arguments called "position"
2024-03-27 01:28:24 +01:00
A Thousand Ships
d4fcca4545
[TileSet] Expose TileData.is_valid_terrain_peering_bit
2024-03-26 16:07:50 +01:00
bruvzg
dc01658ee9
[DisplayServer] Add separate feature flags for different native dialog types.
2024-03-26 15:18:06 +02:00
Rémi Verschelde
a0d464ae19
Merge pull request #89820 from rburing/concave_collision_polygon_2d
...
Fix concave `CollisionPolygon2D` debug drawing and docs
2024-03-26 13:45:31 +01:00
Rémi Verschelde
37766c4ef8
Merge pull request #89625 from kitbdev/not-the-end-of-the-line
...
Fix TextEdit selection end of line drawing for wrapped lines and gaps
2024-03-26 13:45:22 +01:00
Rémi Verschelde
19a50127e5
Merge pull request #88690 from MajorMcDoom/color-picker-fix
...
Fix undo/redo behavior of ColorPicker and add ability to cancel/confirm color selection
2024-03-26 13:45:06 +01:00
Rémi Verschelde
d66539e485
Merge pull request #89673 from bruvzg/f_na_ed
...
Do not apply `force_native` to the edited scene windows.
2024-03-25 13:16:03 +01:00
Rémi Verschelde
f371b7fb70
Merge pull request #87883 from TontonSancho/text-skip-occurence
...
Add 'Skip to next (text) occurrence' feature to text editor
2024-03-25 13:15:56 +01:00
Rémi Verschelde
0acfb38376
Merge pull request #89875 from bruvzg/menu_use_rids
...
[MenuBar] Use NativeMenu RIDs instead of indices to track items.
2024-03-25 11:19:01 +01:00
Rémi Verschelde
c41da69ed7
Merge pull request #89863 from ppphp/resource_format_override
...
Add `override` mark to ResourceFormat class
2024-03-25 11:18:57 +01:00
Rémi Verschelde
17c66c0bea
Merge pull request #89805 from AThousandShips/viewport_report
...
Add missing `RenderInfoType` enum to `Viewport`
2024-03-25 11:18:43 +01:00
Christophe Andral
c988bec4b3
Add 'Skip to next (text) occurrence' feature to text editor
...
Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor.
This action is bound `Ctrl+Alt+D` shorcut.
Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection
and avoid some of them.
Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
2024-03-25 11:12:28 +01:00
bruvzg
5851f1e2dd
[MenuBar] Use NativeMenu RIDs instead of indices to track items.
2024-03-25 10:58:05 +02:00
Zi Ye
d827b34ea8
Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection.
2024-03-24 15:12:11 -05:00
ppphp
d4e1a74efb
Add 'override' mark to ResourceFormat class
2024-03-25 04:06:34 +08:00
Alistair Leslie-Hughes
13d83dd4d7
Correct FileDialog Theme overrides
...
Introduced in 15fd025f90
Fixes #89818
2024-03-24 19:33:05 +11:00
Rémi Verschelde
f79896fd06
Merge pull request #89794 from TokageItLab/animationplayback-seek
...
Fix AnimationPlaybackTrack seeking behavior overall
2024-03-24 01:23:31 +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
Rémi Verschelde
9d8697ab01
Merge pull request #89686 from kleonc/unique-node-names-check-owned-then-in-owner
...
Always look for unique node names in owner if not found in owned nodes
2024-03-24 01:21:28 +01:00
Rémi Verschelde
6ccf425a68
Merge pull request #89664 from voylin/tree-empty-clicked-fix
...
Fix `empty_clicked` signal in Tree when using `hide_root`
2024-03-24 01:20:59 +01:00
Rémi Verschelde
1d4907243e
Merge pull request #89628 from twobitadder/whoops_no_internals_pls
...
Fix crash on `reparent()` with Node containing internal children
2024-03-24 01:19:34 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Rémi Verschelde
e92806c7e7
Merge pull request #88424 from rburing/fti_2d
...
Physics interpolation (2D)
2024-03-24 01:13:53 +01:00
Rémi Verschelde
f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
...
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Rémi Verschelde
8c470749f1
Merge pull request #87387 from warriormaster12/dup_prop_refactor
...
Fix property of type Node duplication when script is attached to a child node
2024-03-24 01:12:57 +01:00
Rémi Verschelde
f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
...
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Rémi Verschelde
20d423258c
Merge pull request #86888 from Mickeon/autocompletion-AnimationNode
...
Add autocompletion to AnimationNode
2024-03-24 01:12:16 +01:00
Rémi Verschelde
ccccdff0d1
Merge pull request #83956 from Chaosus/vs_expression_parsing
...
Refactor the parsing of port names in visual shader's expressions
2024-03-24 01:12:00 +01:00
Ricardo Buring
b6f07a007a
Fix concave CollisionPolygon2D debug drawing and docs
2024-03-23 18:51:39 +01:00
A Thousand Ships
8a88e5ea07
Add missing RenderInfoType
enum to Viewport
2024-03-23 14:03:08 +01:00
Ricardo Buring
2ed2ccc2d8
Fixed Timestep Interpolation (2D)
...
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +01:00
Silc Lizard (Tokage) Renew
c1741fe98e
Fix AnimationPlaybackTrack seeking behavior overall
...
Co-authored-by: jsjtxietian <jsjtxietian@outlook.com>
Co-authored-by: Miguel0312 <miguel.vpereira14@gmail.com>
Co-authored-by: BruceLiCong <citb_li@163.com>
2024-03-23 18:48:29 +09:00
voylin
d339c71edc
Fix empty_clicked signal when hide_root
...
fix
2024-03-22 09:19:56 +09:00
Yuri Rubinsky
aa12241414
Refactor the parsing of port names in visual shader's expressions
2024-03-21 16:34:37 +03:00
Malcolm Nixon
435eb06e4b
Fix for avatars without a root bone.
2024-03-20 23:56:10 -04:00
Silc Lizard (Tokage) Renew
6dd410854c
Rework AnimationNode process for retrieving the semantic time info
2024-03-20 22:52:26 +09:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
...
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
bruvzg
0587a1d217
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly.
2024-03-20 11:56:07 +02:00
kleonc
95ced4bbdc
Always look for unique node names in owner if not found in owned nodes
2024-03-19 22:13:10 +01:00
VolTer
de8b6f7a3c
Add editor settings for autocompletion with NodePath and StringName
2024-03-19 17:23:54 +02:00
bruvzg
92d69da7a6
Do not apply "force_native" to the edited scene windows.
2024-03-19 12:39:50 +02:00
kit
63ac8c1106
Fix TextEdit selection end of line drawing
2024-03-18 10:13:21 -04:00
mnemoli
ca23775374
Fix mouse_enter/mouse_exit events when physics_object_picking_first_only is on
2024-03-18 11:19:22 +00:00
twobit
b9bade8db1
fixes crash on nodes with internal children
2024-03-17 22:44:05 -04:00