Commit Graph

13830 Commits

Author SHA1 Message Date
Silc Lizard (Tokage) Renew b20ba6bd12 Fix discrete key retrieval method after start
(cherry picked from commit b438e28509)
2024-01-25 17:19:41 +01:00
Silc Lizard (Tokage) Renew 19bb93513a Make unstore AnimationLibrary if AnimationTree is assigned Player
(cherry picked from commit c380b1296a)
2024-01-25 17:19:41 +01:00
kobewi c285b726bb Fix file disappearing when renaming dependencies
(cherry picked from commit 397f0b31e4)
2024-01-25 17:19:41 +01:00
Michael Wörner 1b8d1048ad Restored the ability for linear interpolation to work on a mix of integer and float keyframes.
(cherry picked from commit 12ce2e33b2)
2024-01-25 17:19:41 +01:00
Nicholas Foo 4d3e25d09d Fix RichTextLabel.remove_paragraph crash by popping current
(cherry picked from commit c0f8e0061d)
2024-01-25 17:03:57 +01:00
Leo Belda 776938f731 Fix PrismMesh::_create_mesh_array division by 0
(cherry picked from commit 83992fd7bd)
2024-01-25 17:03:57 +01:00
Markus Sauermann ba23081eb7 Fix crash caused by stale owner
Adjust `NOTIFICATION_PREDELETE` in `Node` to clean up owned nodes.
Also print a warning, when the owner becomes invalid.

(cherry picked from commit d3d00c7039)
2024-01-25 17:03:57 +01:00
Haoyu Qiu f1f56746b9 Make AnimationTree reference AnimationPlayer instead of AnimationMixer
(cherry picked from commit 7946e84187)
2024-01-25 17:03:57 +01:00
kit 29811357a3 fix crash on hiding grandparent on mouse exit
(cherry picked from commit 78e1702adb)
2024-01-25 17:03:56 +01:00
A Thousand Ships 0c00f3ece2 Redraw `TreeItem` on more changes
* Custom font changes
* Custom draw changes
* Custom as button

(cherry picked from commit 552594ffdc)
2024-01-24 16:38:28 +01:00
jsjtxietian ce34a9b9a1 Fix CollisionObject3D Gizmo not updated after calling shape_owner_* functions
(cherry picked from commit 80a488a242)
2024-01-24 16:38:28 +01:00
kleonc b3977ad4c6 Fix Polygon2D to Skeleton2D transform calculation
(cherry picked from commit 41e4f3c215)
2024-01-24 15:56:50 +01:00
ShirenY 045b1d5990 Transform mesh's AABB to skeleton's space when calculate mesh's bounds.
(cherry picked from commit 27f71c4e78)
2024-01-24 15:56:50 +01:00
kit c4383c0d47 fix dock visibility issues
(cherry picked from commit a2674463fa)
2024-01-24 15:56:50 +01:00
Silc Lizard (Tokage) Renew d094b574bb Fix Audio track crossfade in AnimationPlayer does not work 2024-01-03 01:46:18 +09:00
Gilles Roudière 6e043b80f6 Fixes TileMap occluders
(cherry picked from commit fcb8d19de0)
2023-12-11 11:41:58 +01:00
bruvzg d29aaedd78
Limit window size updates on title translation change.
(cherry picked from commit f9c42d9fff)
2023-12-07 10:27:09 +01:00
Yuri Sizov 511b4f822a
Make sure `Window`'s title is respected before we compute the size
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.

(cherry picked from commit d9677be0ca)
2023-12-07 10:27:08 +01:00
MewPurPur bcf09f1d9e
Remove exp hint of a few properties
(cherry picked from commit 09270f9624)
2023-12-07 10:27:07 +01:00
Gilles Roudière 77383e63a6
Keep scene tiles even if the TileMap is invisible
(cherry picked from commit 25e927e56b)
2023-12-07 10:27:06 +01:00
Malcolm Nixon 51816380b5
Fix memory corruption and assert failures in convex decomposition
This PR fixes how triangular faces are decomposed into vertices and indices. The pre-increment resulted in the indices table skipping entry 0 and potentially overrunning the end of the vertices vector.

(cherry picked from commit bf7cdc5229)
2023-12-07 10:27:05 +01:00
kobewi 492b0c322a
Fix Tween loop initial value
(cherry picked from commit 20aecefd9b)
2023-12-07 10:27:05 +01:00
bruvzg 1fcf635383
Limit window size updates on title change.
(cherry picked from commit 5dd11e8eee)
2023-12-07 10:27:05 +01:00
Silc Lizard (Tokage) Renew 871d00c980
Fix AnimationPlayer seeking for Discrete keys
(cherry picked from commit 7ed7ea53e6)
2023-12-07 10:27:05 +01:00
bruvzg 3ba731f9e1
[RTL] Fix CharFX character offset calculation.
(cherry picked from commit 7a59efac32)
2023-12-07 10:27:05 +01:00
jsjtxietian 2786f0e43e
Prevent a crash when calling AnimationMixer::restore when an invalid reference
(cherry picked from commit 937411e152)
2023-12-07 10:27:04 +01:00
Hugo Locurcio cff941f138
Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
(cherry picked from commit 70959a9c04)
2023-12-07 10:27:04 +01:00
smix8 90f7b2b8cf
Fix NavigationRegion2D transform update
Fixes NavigationRegion2D transform update.

(cherry picked from commit 6fdb16af47)
2023-12-07 10:27:03 +01:00
Rémi Verschelde e4aec48bea
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.

(cherry picked from commit 7d0c561e02)
2023-12-07 10:27:03 +01:00
Saracen dbb86ed144
Fix generating terrain icon with certain image formats.
(cherry picked from commit 35c105e796)
2023-12-07 10:27:03 +01:00
smix8 fc7cc46b02
Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.

(cherry picked from commit 2f1668804c)
2023-12-07 10:27:02 +01:00
smix8 dfcfc79e3f
Fix missing NavigationRegion property updates in constructor
Fixes missing NavigationRegion property updates in constructor.

(cherry picked from commit 25bf20d7a5)
2023-12-07 10:27:02 +01:00
smix8 ece0c0c4a4
Fix missing NavigationAgent property updates in constructor
Fixes missing NavigationAgent property updates in constructor.

(cherry picked from commit 9640179f93)
2023-12-07 10:27:02 +01:00
smix8 5c709cfc7b
Fix missing NavigationObstacle property updates in constructor
Fixes missing NavigationObstacle property updates in constructor.

(cherry picked from commit 618d9492d9)
2023-12-07 10:27:02 +01:00
Roy Berube 0478c7c1cc
Enable scrolling of output with UI scale changes
(cherry picked from commit a7b2e090ad)
2023-12-07 10:27:02 +01:00
Markus Sauermann ab7b662353 Fix SubViewport physics picking for 4.2
Apply the logic of `handle_input_locally` for physics picking.
2023-12-03 23:35:17 +01:00
Rémi Verschelde a0d7649192
Merge pull request #85463 from akien-mga/tilemap-fix-cell_quadrant_size-compat
TileMap: Fix compatibility code for old `cell_quadrant_size` property name
2023-11-28 13:37:32 +01:00
Rémi Verschelde efe5c856b8
TileMap: Fix compatibility code for old `cell_quadrant_size` property name
Fixes #85423.
2023-11-28 12:44:07 +01:00
Rémi Verschelde a363269479
AnimationMixer: Validate ObjectID before blend in case the object was freed
Works around #85365, but it's likely only a partial fix.
The proper fix would be to remove the Object pointer from the TrackCache
and always go back to the ObjectID before doing operations like this.
2023-11-28 12:27:23 +01:00
Rémi Verschelde a008a85443
Merge pull request #85411 from TokageItLab/fix-animpbtrack-stop
Make AnimationPlaybackTrack keep state when stopping
2023-11-28 08:28:25 +01:00
Rémi Verschelde eda44bfe10
Merge pull request #85252 from QbieShay/qbe/fix-radial-inwards-velocity
Fix radial inwards velocity clamping incorrectly (regression from #83488)
2023-11-27 21:25:58 +01:00
Rémi Verschelde a807d4bfa7
Merge pull request #85418 from bruvzg/fix_crash_on_late_enterexit
Fix crash on late mouse enter/exit event arrival.
2023-11-27 16:01:30 +01:00
bruvzg bf19ced15d
Fix crash on late mouse enter/exit event arrival. 2023-11-27 08:47:43 +02:00
Silc Lizard (Tokage) Renew d3a429962f Make AnimationPlaybakTrack keep state when stopping 2023-11-27 12:14:25 +09:00
Silc Lizard (Tokage) Renew c36200b9a1 Check the seek process immediately after playback as a special case 2023-11-26 07:32:34 +09:00
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