Commit Graph

13842 Commits

Author SHA1 Message Date
Micky 873a77d8e9 Add autocompletion options for AnimatedSprite's other play methods
(cherry picked from commit d5a7c7818c)
2024-01-25 18:45:01 +01:00
Mika Viskari c2d38b4388 Fix invalid frame index when Sprite2D's hframes or vframes has been changed
(cherry picked from commit 484c5b5aff)
2024-01-25 18:32:37 +01:00
Emily 5573f37ff3 Change suffix from m to px
(cherry picked from commit b7d5f3e984)
2024-01-25 18:32:36 +01:00
kleonc 6e6d49c68a Fix ColorPicker's alpha slider arrow offset
(cherry picked from commit d76d8c5f29)
2024-01-25 18:32:35 +01:00
Alistair Leslie-Hughes 6777e1b4bf Replace memory allocation point of ValueTrack correctly in AnimationMixer
When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage.

By checking the error condition first, we avoid a allocation and thus the leak.

(cherry picked from commit ea84effb84)
2024-01-25 18:32:35 +01:00
Aitor Guevara 43d24379a5 Trigger zoom from pan gestures when pressing ctrl
Enables zooming using pan + ctrl on macOS trackpads / Magic Mouse.
Windows and Linux don't emit pan gesture events, so shouldn't be
affected. Not tested on Android.

(cherry picked from commit 6b45694836)
2024-01-25 18:32:35 +01:00
Markus Sauermann 6f6a1dc5e9 Fix D&D viewport position calculation
It is necessary to transform screen position to viewport position.

(cherry picked from commit 4b6516c843)
2024-01-25 18:08:46 +01:00
Michael Wörner d01c60c178 Changed HTML input color_changed logic.
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.

(cherry picked from commit 21d778b0c3)
2024-01-25 18:08:45 +01:00
BlueCube3310 b247151af2 Improve Curve3D Debug Drawing
(cherry picked from commit 982ce34a58)
2024-01-25 18:08:45 +01:00
Gilles Roudière 032d96042d Fixes global transform being wrong on entering tree
(cherry picked from commit 0a726d692a)
2024-01-25 17:19:42 +01:00
Silc Lizard (Tokage) Renew 209aa9821a Make default blend_left consider current blend amount
(cherry picked from commit f8da9460c1)
2024-01-25 17:19:42 +01:00
kobewi a1c32a9462 Only update particle velocity when it changes
(cherry picked from commit cb0a37f61a)
2024-01-25 17:19:41 +01:00
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