Rémi Verschelde
2912fd4c51
Merge pull request #78968 from bruvzg/scroll_fix2
...
[RTL] Fix multithreaded scrollbar visibility update 2.
2023-07-03 15:26:18 +02:00
Rémi Verschelde
2926ddec1c
Merge pull request #78939 from Scony/navi-crash-fix
...
Fix crash in `NavigationAgent3D`
2023-07-03 15:26:14 +02:00
Rémi Verschelde
813ff4b460
Merge pull request #78857 from smix8/navagent_pos_fix_4.x
...
Fix NavigationAgent position not always updating
2023-07-03 15:26:11 +02:00
Yuri Sizov
40f2227a65
Prevent crash when processing line caches in RichTextLabel
2023-07-03 13:33:51 +02:00
bruvzg
21365606d3
[RTL] Fix multithreaded scrollbar visibility update 2.
2023-07-03 10:34:42 +03:00
Pawel Lampe
fcbb521392
Fix crash in 'NavigationAgent3D', fixes #78910
2023-07-02 22:30:03 +02:00
smix8
34bc410fb4
Fix NavigationAgent position not always updating
...
Fixes NavigationAgent position not always updating.
2023-06-30 00:18:26 +02:00
smix8
c912df9d05
Fix NavigationAgent continues avoidance velocity
...
Fixes NavigationAgent continues avoidance velocity.
2023-06-29 21:10:03 +02:00
bruvzg
ec97c7c1d9
[RTL] Fix multithreaded scrollbar visibility update.
2023-06-29 15:37:54 +03:00
kobewi
1a9739f591
Fix crash with failed compatibility tiles
2023-06-28 15:11:10 +02:00
Rémi Verschelde
16508ead86
Merge pull request #78745 from RandomShaper/fix_node_pr
...
Fix node processing order
2023-06-27 23:02:02 +02:00
Pedro J. Estébanez
70ca659143
Fix node internal/non-internal processing order
...
Bonus:
Fix issues in group-processing related setters
2023-06-27 19:19:55 +02:00
Rémi Verschelde
3c352a5a7d
Merge pull request #78728 from Rindbee/reset-vp_pending-on-failure-or-not
...
Fix that `ViewportTexture` cannot be setup again after failed setup
2023-06-27 15:45:41 +02:00
Rindbee
fb1bcac271
Fix that `ViewportTexture` cannot be setup again after failed setup
...
`vp_pending` is a flag indicating to wait for `ViewportTexture::_setup_local_to_scene`
to be called. Once this method is called, no matter whether the setup will fail or not,
it needs to be reset to `false`.
2023-06-27 06:45:30 +08:00
Ricardo Buring
104da478a8
Fix CharacterBody3D get_position_delta()
...
Calculate the difference of global positions.
This also fixes get_real_velocity().
2023-06-26 23:15:57 +02:00
Pedro J. Estébanez
fc0e37bbe0
Fix change of precedence in fixup
2023-06-26 19:20:34 +02:00
Rémi Verschelde
6b91f57042
Fixup compilation warning after #78713
2023-06-26 17:55:08 +02:00
Pedro J. Estébanez
a39b683b12
Ensure default node groups' call queue are processed
2023-06-26 16:56:10 +02:00
Rémi Verschelde
8f2f5987a5
Merge pull request #78673 from Geometror/fix-graphnode-hotzones
...
[GraphEdit] Fix port hotzones at zoom levels other than 100%
2023-06-26 10:12:42 +02:00
Markus Sauermann
31fab43b8b
Fix scene load crash related to `_ready`
...
The iterator might get invalidated during `_ready`-user-code.
Prevent this by disallowing set_name during iterator-operations.
2023-06-25 22:35:38 +02:00
Hendrik Brucker
1e8ca95cdc
[GraphEdit] Fix port hotzones at zoom levels other than 100%
2023-06-25 17:13:53 +02:00
Rémi Verschelde
afe65de110
Merge pull request #78591 from ajreckof/Fix-crash-when-removing-child-during-focus-exit-
...
Fix crash when removing child during focus exit.
2023-06-23 22:45:51 +02:00
ajreckof
f745299c36
Fix crash when removing child during focus exit.
2023-06-23 21:31:18 +02:00
Rémi Verschelde
68193bee9a
Revert "Fix that the focus-out notification got sent deferred"
...
This reverts commit 8cdab04d7f
.
Fixes #78589 .
2023-06-23 18:03:48 +02:00
Rémi Verschelde
f24f615b04
Merge pull request #78556 from QbieShay/qbe/hotzonehotfix
...
Fix regression in visual nodes hotzones
2023-06-23 08:47:56 +02:00
Rémi Verschelde
c1ad74d4c3
Merge pull request #78579 from aaronfranke/col-poly-obj-name
...
Internally rename `parent` to `collision_object` in CollisionPolygon(2D/3D)
2023-06-23 00:06:09 +02:00
Markus Sauermann
60c261ba2d
Re-add `mouse_focus`-nullcheck
2023-06-22 21:58:19 +02:00
Aaron Franke
7c4921e794
Internally rename parent to collision_object in CollisionPolygon(2D/3D)
2023-06-22 14:06:05 -05:00
Rémi Verschelde
cb73a6e9f9
Merge pull request #78490 from clayjohn/GLES3-particles-subemit
...
Add warnings and fallbacks for particles sub emitters when using the GL Compatibility rendering backend
2023-06-22 21:02:38 +02:00
Rémi Verschelde
120aa3fca8
Merge pull request #78574 from Sauermann/fix-toplevel-reset
...
Fix 3D `top_level` resetting
2023-06-22 20:44:36 +02:00
QbieShay
237e3c6099
Fix regression in visual nodes hotzones
2023-06-22 19:03:17 +02:00
Markus Sauermann
399bce02cf
Fix 3D top_level resetting
...
There is no need to erase the top_level flag on EXIT_TREE.
During ENTER_TREE, `top_level = true` is not necessary, because it is
already set to true.
2023-06-22 18:58:29 +02:00
Rémi Verschelde
283580d0cc
Merge pull request #78566 from kleonc/repeated-sprite-selection-fix
...
Fix click-selecting Sprites with repeated texture
2023-06-22 18:32:01 +02:00
kleonc
edba45ec8b
Fix click-selecting Sprites with repeated texture
2023-06-22 16:37:08 +02:00
dinoplane
e11e9d2b9a
Use cached saturation for color picker when value is 0
2023-06-21 15:18:20 -07:00
jeana helver
5ec1b698d2
Fix missing enum value for `Window.initial_position`
...
Reorder the properties in a possibly more intuitive order.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-21 22:39:43 +02:00
clayjohn
8a5af8183a
Add warnings and fallbacks for particles sub emitters when using the GL Compatibility rendering backend
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 12:56:52 -07:00
Rémi Verschelde
ee41b2097c
Merge pull request #78509 from MewPurPur/redraw-code-edit-on-mouse-exit
...
Hide breakpoint indicator when mouse leaves CodeEdit
2023-06-21 12:43:01 +02:00
MewPurPur
6e182d41f4
Hide breakpoint indicator when mouse leaves CodeEdit
2023-06-21 11:30:40 +02:00
Yuri Sizov
ebd44641c5
Merge pull request #78492 from KoBeWi/too_slow
...
Update indices after removing custom data layers
2023-06-21 11:19:36 +02:00
Rémi Verschelde
5025d95d41
Merge pull request #69027 from Uxeron/AudioListener2DRotationFix
...
Fix AudioListener2D ignoring rotation for positional audio
2023-06-21 10:17:37 +02:00
Uxeron
20ceba9e82
Fix AudioListener2D ignoring rotation
2023-06-21 08:10:01 +03:00
kobewi
c1c5b0a435
Update indices after removing custom data layers
2023-06-21 03:12:53 +02:00
Gilles Roudière
c54d407fa5
Fixes TileSet set as local to scene
2023-06-20 17:48:56 +02:00
Rémi Verschelde
159f1ec301
Merge pull request #78398 from Sauermann/fix-immediate-focus-out
...
Fix that the focus-out notification got sent deferred
2023-06-20 13:14:10 +02:00
Rémi Verschelde
73ac33342f
Merge pull request #78442 from smix8/navmesh_bake_geo_errors_4.x
...
Fix potential crashes in navmesh bake geometry functions
2023-06-20 09:22:03 +02:00
Rémi Verschelde
94a4da9de6
Merge pull request #78236 from AThousandShips/nine_tex_fix
...
Make `NinePatchRect` listen to texture changes
2023-06-20 09:21:15 +02:00
Rémi Verschelde
0653f7a5b0
Merge pull request #77722 from ApplecrispEric/drag-drop-autocomplete
...
Cancel autocomplete after initiating drag
2023-06-20 09:20:52 +02:00
Rémi Verschelde
ca3283b22b
Merge pull request #77278 from davthedev/stylebox-flat-polys-optimize
...
Remove useless polygons from StyleBoxFlat drawing
2023-06-20 09:20:27 +02:00
Ninni Pipping
4492f7ff97
Make `NinePatchRect` listen to texture changes
2023-06-20 08:40:35 +02:00
Eric Brown
42bc437615
Changed autocomplete to cancel when the user begins a drag
2023-06-19 15:44:13 -07:00
Rémi Verschelde
217a20a8a0
Merge pull request #78448 from akien-mga/black-23.3.0
...
CI: Update static checks to black 23.3.0
2023-06-20 00:05:39 +02:00
Rémi Verschelde
75ef6e486c
Merge pull request #77735 from AThousandShips/node_array_fix
...
Fix export of `Array[Node]`
2023-06-20 00:04:01 +02:00
Rémi Verschelde
243c8e0b40
Merge pull request #77465 from lyuma/ik_skeleton_reference_bug
...
SkeletonIK3D: Avoid holding hard pointers to Skeleton3D
2023-06-20 00:02:47 +02:00
Rémi Verschelde
e4deaa2727
Merge pull request #76787 from RedworkDE/avoid-localvector-copy
...
Avoid making unnecessary copies of `LocalVector`
2023-06-20 00:01:55 +02:00
Rémi Verschelde
c9c941e339
CI: Update static checks to black 23.3.0
...
And apply it to the codebase, removing empty lines at the start of blocks.
2023-06-19 23:33:02 +02:00
Ninni Pipping
bbd4873eea
Fix index in loading of `Array[Node]`
2023-06-19 23:19:38 +02:00
Rémi Verschelde
cce100a840
Merge pull request #75459 from kleonc/node-fix-find-children
...
Fix recursive `Node.find_children`
2023-06-19 22:33:46 +02:00
smix8
f3a6e04f8b
Fix potential crashes in navmesh bake geometry functions
...
Fixes potential crashes in navmesh geometry functions.
2023-06-19 20:58:36 +02:00
Rémi Verschelde
ea5d02b582
Merge pull request #78438 from smix8/navagent_debug_z__4.x
...
Fix NavigationAgent2D path debug hidden behind canvas items
2023-06-19 15:51:16 +02:00
smix8
e3f9994d54
Fix NavigationAgent2D path debug hidden behind canvas items
...
Fixes NavigationAgent2D path debug hidden behind canvas items.
2023-06-19 15:43:35 +02:00
Dominik 'dreamsComeTrue' Jasiński
6e6e296502
Set correct RW locks in AnimatedTexture
2023-06-19 15:21:52 +02:00
Markus Sauermann
8cdab04d7f
Fix that the focus-out notification got sent deferred
...
Currently the window receives a focus-out notification, directly after
it popup, because currently the signal is sent deferred.
The original intention was that the previously focused window must
receive a focus-out notification.
This change makes the notification more precise by only sending the
focus-out to the previously focused window.
2023-06-18 23:06:07 +02:00
Raul Santos
5373b67e2a
Respect returned bool from virtual process methods in SceneTree
...
SceneTree overrides the virtual `process` and `physics_process` methods
that it inherits from MainLoop. These methods return a boolean that
determines if the main loop should end.
The SceneTree was ignoring the returned boolean, so scripts inheriting
from SceneTree that override these methods and return true didn't exit
the main loop. Now the boolean is checked.
2023-06-18 20:45:58 +02:00
Rémi Verschelde
e125af0d05
Merge pull request #78363 from Sauermann/fix-simplify-acceptdialog
...
Fix focusloss of non-exclusive `AcceptDialog` with `close_on_escape`
2023-06-18 16:32:40 +02:00
Rémi Verschelde
d63794d466
Merge pull request #77629 from GameDevLlama/bugifx/issue-50813
...
Fix non-functional Node3D `top_level` property
2023-06-18 16:30:42 +02:00
Christian Ringshofer
20e8189f5d
Fix non functional Node3D op_level property
...
Fixes #50813 .
2023-06-18 15:01:01 +02:00
smix8
ae9dd47d0c
Add agent pause mode to NavigationServer
...
Adds agent pause mode to NavigationServer.
2023-06-18 12:37:03 +02:00
Markus Sauermann
7f547fcf09
Fix focusloss of non-exclusive `AcceptDialog` with `close_on_escape`
...
Fix, that a non-exclusive AcceptDialog with `close_on_escape == true`
gets closed, when the parent window of the parent window receives focus.
There is no need to rely on the focus of the parent visible window.
Instead check if the AcceptDialog loses focus.
2023-06-17 11:05:36 +02:00
Rémi Verschelde
1d22e040cb
Merge pull request #78336 from smix8/st_debug_avoidance_hint_4.x
...
Remove SceneTree debug avoidance hint
2023-06-16 20:16:12 +02:00
smix8
f1d8ddd9bd
Remove SceneTree debug avoidance hint
...
Removes SceneTree debug avoidance hint.
2023-06-16 17:18:47 +02:00
Rémi Verschelde
2d90f66ac1
Merge pull request #78323 from kleonc/tile-compat-transposed-transform-fix
...
Fix transform for transposed tiles in compatibility mode (from 3.x)
2023-06-16 16:52:51 +02:00
Rémi Verschelde
c65aba7aff
Merge pull request #78321 from ajreckof/fix-wrong-alphabetical-order-in-autocompletion-sorting
...
Fix wrong order in autocompletion sorting with empty string to complete.
2023-06-16 16:52:27 +02:00
Rémi Verschelde
ce60395b4a
Merge pull request #78293 from Sauermann/fix-button-unpress
...
Fix ButtonGroup unpressing
2023-06-16 16:52:01 +02:00
ajreckof
e9a2060b27
Fix wrong alphabetical order in autocompletion sorting.
...
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-06-16 14:04:07 +02:00
kleonc
735e7d67ca
Fix transform for transposed tiles in compatibility mode (from 3.x)
2023-06-16 13:31:01 +02:00
Rémi Verschelde
c6d9139f16
Merge pull request #78280 from raulsntos/path-follow-3d-clamp
...
Clamp `PathFollow3D` progress when not looping
2023-06-16 10:20:43 +02:00
Rémi Verschelde
2ebe692ccc
Merge pull request #78276 from smix8/remove_old_navdebug_materials_4.x
...
Remove legacy navigation debug materials
2023-06-16 10:20:20 +02:00
Rémi Verschelde
014b395ef3
Merge pull request #78262 from bruvzg/ds_window_focus
...
[DisplayServer] Add method to check if native window is focused.
2023-06-16 10:19:33 +02:00
Rémi Verschelde
d101244d1b
Merge pull request #74641 from dalexeev/fix-bitfield-enum-warnings
...
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-16 10:18:46 +02:00
bruvzg
28db3c7158
[DisplayServer] Add method to check if native window is focused.
2023-06-16 10:27:52 +03:00
Rémi Verschelde
6fb391bc23
Fix various typos with codespell
...
And ignore some false positives introduced by recent versions of codespell.
2023-06-16 08:45:35 +02:00
Markus Sauermann
390aa2a565
Fix ButtonGroup unpressing
...
It was possible to unpress a button group that had `allow_unpress = false`
using shortcuts.
Adjust `BaseButton::shortcut_input` to use the same logic as
`BaseButton::on_action_event`.
2023-06-16 00:15:37 +02:00
Raul Santos
0b4ec4027c
Clamp PathFollow3D progress when not looping
2023-06-15 16:59:14 +02:00
smix8
1b506cd49c
Remove legacy navigation debug materials
...
Removes legacy navigation debug materials.
2023-06-15 16:33:55 +02:00
Danil Alexeev
eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-15 17:23:02 +03:00
Rémi Verschelde
a48285db7b
Merge pull request #78269 from Sauermann/fix-menubutton-popup-position
...
Fix position and size of MenuButton popup
2023-06-15 16:08:40 +02:00
Rémi Verschelde
95a9089fdd
Merge pull request #74813 from bruvzg/text_edit_autowrap
...
[TextEdit] Expose all auto-wrap modes.
2023-06-15 16:08:21 +02:00
Markus Sauermann
d41665eb5e
Fix position and size of MenuButton popup
...
Use the same logic as in OptionButton::show_popup
2023-06-15 15:29:50 +02:00
Rémi Verschelde
6587a81910
Merge pull request #78268 from Sauermann/fix-remove-unused-variable
...
Remove unused variable `PopupMenu::parent_rect`
2023-06-15 15:26:36 +02:00
Rémi Verschelde
f9e0c64905
Merge pull request #78241 from bruvzg/rtl_mt_resize
...
[RTL] Fix multithreaded resizing.
2023-06-15 15:26:27 +02:00
Markus Sauermann
840e2b14f3
Remove unused variable `PopupMenu::parent_rect`
...
This private variable is not read anywhere.
Remove it and all places, where it is set.
2023-06-15 12:08:47 +02:00
Rémi Verschelde
7734146060
Merge pull request #78256 from Calinou/animatedtexture-fix-property-hint
...
Fix outdated usage of `or_lesser` in AnimatedTexture property hint
2023-06-15 10:50:53 +02:00
Rémi Verschelde
41b34e3e56
Merge pull request #78240 from KoBeWi/nothing_valid_here,_keep_scrolling
...
Safe-guard against missing node arrays
2023-06-15 10:50:45 +02:00
Rémi Verschelde
0da20d019e
Merge pull request #77412 from smix8/fix_threaded_navmesh_baking_4.x
...
Fix for threaded NavigationMesh baking under new thread guards
2023-06-15 10:49:58 +02:00
Rémi Verschelde
b1d3070648
Merge pull request #77175 from smix8/region_refactor_4.x
...
Refactor NavigationRegion internals
2023-06-15 10:39:53 +02:00
smix8
4c970f1a67
Refactor NavigationRegion internals
...
Refactors NavigationRegion internals.
2023-06-15 09:52:14 +02:00
Hugo Locurcio
7b4fd528ab
Fix outdated usage of `or_lesser` in AnimatedTexture property hint
...
The property hint was renamed to `or_less` in 4.0, so it had no effect.
2023-06-15 07:46:33 +02:00
Hugo Locurcio
f683230a8b
Tweak VehicleBody3D and VehicleWheel3D property hints
...
These property hints are better aligned with the documentation
and typical use cases, while still allowing values to go outside
those ranges (except for steering, where steering above 180° doesn't
make sense).
2023-06-15 07:45:55 +02:00
bruvzg
cda9cd7587
[RTL] Fix multithreaded resizing.
2023-06-14 23:15:16 +03:00