Commit Graph

13784 Commits

Author SHA1 Message Date
Yuri Sizov 671c04f89f Fix a crash when trying to restore uncopyable animation tracks 2023-11-24 14:20:30 +01:00
Pedro J. Estébanez fbb931df8c Perform safe copies in AnimatedValuesBackup::get_cache_copy() 2023-11-24 11:38:59 +01:00
Rémi Verschelde 066e7d483a
Merge pull request #85284 from Sauermann/fix-enter-hide
Fix crash when hiding a Control during mouse-entering
2023-11-24 00:01:15 +01:00
Markus Sauermann 3de9afc4a9 Fix crash when hiding a Control during mouse-entering
gui.mouse_over can be set to `nullptr` in the `NOTIFICATION_MOUSE_ENTER`-
user-callback a few lines above. This case was previously not handled.
2023-11-23 23:25:00 +01:00
kobewi 1c0a0f5fdd Fix TrackCache memory crash 2023-11-23 20:26:03 +01:00
Rémi Verschelde bb63963486
Merge pull request #85254 from TokageItLab/bind-reset-animedit
Bind `_reset`/`_restore` in AnimationMixer
2023-11-23 15:35:15 +01:00
Rémi Verschelde 1524972aa5
Merge pull request #85221 from TokageItLab/clear-seek-flg
Clear seeked/started flag after seeking/advancing in AnimationPlayer
2023-11-23 15:34:46 +01:00
Silc Lizard (Tokage) Renew f66224dd2d Bind `_reset`/`_restore` in AnimationMixer 2023-11-23 22:47:52 +09:00
Silc Lizard (Tokage) Renew 9c3104292d Clear seeked/started flag after seeking/advancing in AnimationPlayer 2023-11-22 23:40:53 +09:00
Pedro J. Estébanez 8bebabda18 Let scene replacemnent benefit from certain late pieces of frame logic 2023-11-21 18:32:49 +01:00
Rémi Verschelde c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
kobewi c6c872ba34 Provide more context when scene fails to load 2023-11-20 14:57:00 +01:00
Pedro J. Estébanez fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
Lera Elvoé 60cb44e84c
Add GraphEdit connection layer child as internal 2023-11-17 15:29:39 +03:00
Rémi Verschelde 4065266119
Merge pull request #84968 from groud/fix_tilemap_reparenting
Update tilemap physics' world2D on reparenting
2023-11-16 14:53:15 +01:00
Rémi Verschelde 6ae6cc0bf5
Merge pull request #84815 from TokageItLab/array-animation
Rework blending method in `Variant` animation for `Int`/`Array`/`String`
2023-11-16 14:52:00 +01:00
Silc Lizard (Tokage) Renew 80c9533810 Rework blending method in Variant animation for Int/Array/String 2023-11-16 21:37:18 +09:00
Gilles Roudière dae641625a Update tilemap physics' world2D on reparenting
Co-authored-by: Alon Ran <newdefectus@gmail.com>
2023-11-16 11:31:42 +01:00
Alistair Leslie-Hughes 5b6f641e99 Fix sizeof usage for Variant pointers in alloca
Coverity report this as a non portable usage of sizeof
2023-11-16 07:13:14 +11:00
Rémi Verschelde 56a2b143a2
Merge pull request #84942 from TokageItLab/leak-res-track-cache
Fix ValueTrack with Resource is leaking
2023-11-15 18:47:10 +01:00
Silc Lizard (Tokage) Renew f853d675e8 Fix ValueTrack with Resource is leaking 2023-11-16 02:12:39 +09:00
Mikael Hermansson a3278c772e Fix transform sync in `RigidBody*D::_body_state_changed` 2023-11-15 01:45:45 +01:00
Mikael Hermansson a98b94758b Revert "Fix transform notification not getting sent out for RigidBody2D" 2023-11-14 22:17:26 +01:00
Rémi Verschelde c26b36e0e5
Merge pull request #84870 from jsjtxietian/add-set-selected-protection
Make Tree's `set_selected` check if the TreeItem belongs to the tree
2023-11-14 19:31:47 +01:00
Rémi Verschelde 9c67a02259
Merge pull request #84856 from mihe/fix-block-transform-notify
Fix transform notification not getting sent out for RigidBody2D
2023-11-14 19:31:43 +01:00
Rémi Verschelde 75e0b90f1d
Merge pull request #84874 from bruvzg/rtl_excessive_draw
[RTL] Fix excessive underline and table border draw calls.
2023-11-14 11:27:55 +01:00
Rémi Verschelde 7c7d9e2169
Merge pull request #83781 from martinfelis/fix-animationplayer-ready-autoplay
Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready
2023-11-14 11:27:44 +01:00
Martin Felis f04ec34b78 Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready.
Fixes #83326.

The issue was introduced in the refactoring done in 1b95827d3e.
2023-11-14 08:30:40 +01:00
bruvzg 4a82d3b16d
[RTL] Fix excessive underline and table border draw calls. 2023-11-14 08:31:44 +02:00
jsjtxietian b79cac6d2d Make Tree's set_selected check if treeitem belongs to the tree 2023-11-14 11:34:00 +08:00
Rémi Verschelde 8b705af9e5
Merge pull request #84832 from alesliehughes/fix_use_after_free
Fix VisualShader connection use after free.
2023-11-14 00:03:45 +01:00
Rémi Verschelde 8d731b17f1
Merge pull request #84829 from bitsawer/fix_particle_material_names
Fix several ParticleProcessMaterial texture names
2023-11-14 00:03:21 +01:00
Alistair Leslie-Hughes a30dc67007 Fix VisualShader connection use after free. 2023-11-14 07:34:41 +11:00
Mikael Hermansson 9fb0b52608 Fix transform notification not getting sent out for RigidBody2D 2023-11-13 15:44:32 +01:00
kobewi 4296f0a771 Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
jsjtxietian 306a8eec58 Add protection in RichTextLabel.update_image to prevent crash 2023-11-13 18:01:14 +08:00
bitsawer 7c4d07c5a0 Fix several ParticleProcessMaterial texture names 2023-11-13 05:51:01 +02:00
Rémi Verschelde 64150060f8
Merge pull request #84799 from mihe/fix-83412
Fix transform changes in `_integrate_forces` being overwritten
2023-11-12 23:01:18 +01:00
Rémi Verschelde 5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Mikael Hermansson 21a3ed1715 Fix transform changes in `_integrate_forces` being overwritten 2023-11-12 19:32:08 +01:00
Rémi Verschelde 8928b2044b
Merge pull request #80281 from KoBeWi/unacceptable
Assign temporary path to preloaded resources
2023-11-12 12:13:55 +01:00
Rémi Verschelde 15b8185c68
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
biswas08433 92fe4bb693 Fixes Texture2dParameter node filter option
This bug was appending 2 colons in the generated code.  Fixed it.
2023-11-12 01:59:53 +05:30
Rémi Verschelde 7f8edaa238
Merge pull request #82660 from coumcashier/itemlist_height_fix
Fix storing invalid item height values in `ItemList`
2023-11-10 21:54:33 +01:00
Rémi Verschelde 28ada4582e
Merge pull request #82604 from Calinou/editor-camera3d-size-property-hint
Tweak Camera3D `size` property hint to make dragging more useful
2023-11-10 21:54:10 +01:00
coumcashier 1533292f09 Fix storing invalid item height values in `ItemList`
The height of the last N items is incorrectly overwritten with
the max height of first row (N = number of columns). This happen
in the first iteration of the while loop. Moving this code inside
if (all_fit) makes sure the last rows height is only updated at
the end when max height (max_h) is calculated for the last row.
2023-11-10 19:54:31 +01:00
bitsawer 0f66bc9ba6 Fix FogMaterial memory leak 2023-11-10 12:13:52 +02:00
kobewi a3627b6e37 Assign temporary path to preloaded resources 2023-11-10 00:43:30 +01:00
Rémi Verschelde 0e6160a00f
Merge pull request #81525 from KoBeWi/tweening_the_impossible
Check if property exists before tweening
2023-11-09 20:03:53 +01:00
Rémi Verschelde c2246a5a6f
Merge pull request #84668 from YuriSizov/gui-dont-warn-when-popup-subs-are-nameless
Allow auto-generated node names in `PopupMenu::add_submenu_item`
2023-11-09 18:10:35 +01:00