Paweł
3be4f3a80e
Fix scrolling behaviour with low page value
...
(cherry picked from commit 1608bea188
)
2023-08-28 16:26:01 +02:00
Haoyu Qiu
bf1511d0e5
Notify child controls when BackBufferCopy's rect changed
...
(cherry picked from commit 602a0d2fbc
)
2023-08-28 16:24:24 +02:00
lawnjelly
6e52037876
Fix AnimatedSprite normal map loading
...
Normal map names are now correctly set up during loading.
(cherry picked from commit d02b319ec4
)
2023-08-19 00:53:36 +02:00
kleonc
50c83b1581
Fix GridContainer max row/column calculations not skipping hidden children
...
(cherry picked from commit 0ce6ef7215
)
2023-08-19 00:36:13 +02:00
Ninni Pipping
a9c451af33
Fix size error in `BitMap.opaque_to_polygons`
...
Previous estimate of upper limit on size was incorrect
(cherry picked from commit 48347499c2
)
2023-08-19 00:36:13 +02:00
Ninni Pipping
59547227ab
[3.x] Don't apply scale to autohide theme property
...
(cherry picked from commit 1c66257568
)
2023-08-19 00:36:13 +02:00
lawnjelly
891b17d5db
Fix TextEdit color_region_cache bug
...
Due to a single error, _is_line_in_region was previously iterating over the color highlighting for the entire document repeatedly for each line in the script.
This is now fixed, which should make the editor much faster with large scripts.
(cherry picked from commit 57306bf0e3
)
2023-08-19 00:36:12 +02:00
Markus Sauermann
c6e0ed298c
Include the follow-viewport-transform into CanvasLayer transform calculations
...
The follow-viewport-transform was missing from several calculations
3.x version of #59682
(cherry picked from commit 608cbd8296
)
2023-08-18 21:20:42 +02:00
Rémi Verschelde
51fb839278
RichTextLabel: Fix hint string for custom_effects property
...
Fixes #73190 .
(cherry picked from commit 32b3ef7727
)
2023-03-06 13:32:02 +01:00
smix8
6a1888f584
Fix navigation related nodes not propagating parent class config warnings
...
Fixes that navigation related nodes do not propagate config warnings from their parent classes.
(cherry picked from commit b5213cceac
)
2023-03-06 13:03:47 +01:00
OsakiTsukiko
6d30f26d25
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
...
(cherry picked from commit 0a386084bc
)
2023-01-11 16:03:02 +01:00
Haoyu Qiu
c03c23751b
Fix Tree overflow without scrolling being enabled
...
(cherry picked from commit 36a21a43af
)
2023-01-11 14:56:40 +01:00
Rémi Verschelde
16f6a5b139
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
Backported from #70885 .
2023-01-10 15:32:59 +01:00
Paweł Fertyk
62f2b8a940
Fix `BitMap.resize` error spam
...
Fixes #70187 .
(cherry picked from commit ddd7189b39
)
2022-12-22 12:25:05 +01:00
kleonc
f0fe514fc2
AtlasTexture Fix calculating rects when flipping
...
(cherry picked from commit c3851b91db
)
2022-12-22 12:23:03 +01:00
Marius Hanl
fab73c6c7e
Check for null event in Tree._gui_input to avoid engine crash
...
(cherry picked from commit 09f974b21d
)
2022-12-22 12:22:17 +01:00
Haoyu Qiu
d13e327abe
Fix possible Tween leak on exit
...
(cherry picked from commit e173710963
)
2022-12-22 12:22:00 +01:00
Rémi Verschelde
a204af90d5
Revert "Fix the logic used to route `InputEventScreenDrag` events to `Control` nodes."
...
This reverts commit 26012ed6b6
.
This caused a regression: #70119 .
2022-12-22 11:25:31 +01:00
Rémi Verschelde
c4a9b42297
Fix typos with codespell
2022-12-15 12:27:58 +01:00
Haoyu Qiu
cf34580b90
Fix crash after executing ItemList.set_icon_scale
...
(cherry picked from commit 8d0fa193c3
)
2022-12-13 14:24:50 +01:00
Hugo Locurcio
4c83336a3d
Fix infinite loop when calling `Control.popup_centered_minsize()`
...
Co-authored-by: sriramun <sriramun2@gmail.com>
(cherry picked from commit 08e804b3b7
)
2022-12-12 14:46:59 +01:00
Dawid Marzec
b48433d0c3
Fix errors while deselecting all tree items; issue #65185
...
(cherry picked from commit d4d5df2314
)
2022-12-12 14:46:34 +01:00
Paweł Fertyk
00c346b325
Fix get_visible_line_count in RichTextLabel with newlines
...
Fixed #59359 .
(cherry picked from commit 32cdf9fad2
)
2022-12-12 14:43:48 +01:00
smix8
2ead966f87
Add detail to NavigationPolygon outline error msg
...
Adds additional information to the error msg when the convex partition fails due to invalid outline arrays.
(cherry picked from commit f30ebacbe8
)
2022-12-12 14:20:08 +08:00
Hugo Locurcio
bacda47336
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
...
The `rect` property is only effective if `copy_mode` is Rect.
(cherry picked from commit 5115db63aa
)
2022-12-12 13:39:10 +08:00
Haoyu Qiu
3d0f484c57
Fix CanvasLayer visibility toggle can only run once per frame
...
(cherry picked from commit a6a89356b7
)
2022-12-12 13:37:35 +08:00
QbieShay
a945538eae
added options for sorting transparent objects
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
(cherry picked from commit acdcbefa4e
)
2022-12-12 13:33:52 +08:00
Micky
a8c01896cc
Cast between float and ints in SceneTreeTween.`tween_property()`
...
(cherry picked from commit 2b18a4002c
)
2022-12-12 13:26:00 +08:00
hare_ware
b012fed826
Fix Skeleton3D falsely assuming all physical bones will be children of their first bone
...
(cherry picked from commit 913f57f695
)
2022-12-05 10:12:10 +08:00
jbcolli2
a49a90742f
Changed normal of CylinderMesh to account for slanted side.
...
(cherry picked from commit 491ec622f6
)
2022-12-05 10:05:23 +08:00
Rafał Mikrut
52e25bc555
Fix exporting big templates
...
(cherry picked from commit 86fa3ba560
)
2022-12-05 10:05:13 +08:00
kleonc
7d2701c08b
`SpriteBase3D` Fix drawing AtlasTextures with vertical margins differently than in 2D
...
(cherry picked from commit 0a64c2eba5
)
2022-12-05 09:58:20 +08:00
kleonc
a9e897d2c3
Move duplicated drawing code from `Sprite3D`/`AnimatedSprite3D` to `SpriteBase3D`
...
(cherry picked from commit 0bf2b8e813
)
2022-12-05 09:58:15 +08:00
Fredia Huya-Kouadio
26012ed6b6
Fix the logic used to route `InputEventScreenDrag` events to `Control` nodes.
...
(cherry picked from commit b28bcb4cfc
)
2022-12-05 09:47:43 +08:00
bruvzg
84eed3b988
[TextMesh, 3.x] Fix auto-translation and ignore control chars.
...
(cherry picked from commit efa6b01c97
)
2022-12-05 09:40:56 +08:00
Haoyu Qiu
056e99ad6e
Fix TreeItem.remove_child not updating Tree immediately
...
(cherry picked from commit 7bdbfbf822
)
2022-12-05 09:39:33 +08:00
Sam Briels
1f50a0b6ca
fix: emit target_reached signal after updating state
...
(cherry picked from commit 3e186ae043
)
2022-12-05 09:32:50 +08:00
Haoyu Qiu
f29f387d54
Fix error when having BoneAttachment before PhysicalBone
...
(cherry picked from commit 3acc0779a4
)
2022-12-05 09:30:40 +08:00
Haoyu Qiu
485ec0d27c
Fix get_path() error when calling get_node()
...
(cherry picked from commit 5d6dc206bc
)
2022-12-05 09:28:43 +08:00
kobewi
422d7fafaa
Hide text of RichTextLabel if BBCode is enabled
...
(cherry picked from commit a0ad958582
)
2022-12-05 09:24:34 +08:00
Haoyu Qiu
0fdda75fdc
Fix NavigationObstacle not estimating radius
...
(cherry picked from commit acf86efebc
)
2022-12-05 09:18:43 +08:00
Haoyu Qiu
f8eed6372c
Fix NavigationObstacle not registering to default navigation map
...
(cherry picked from commit fba5a4ab9a
)
2022-12-05 09:18:12 +08:00
smix8
3b9355be3f
Fix TileMaps with origin offset placing NavPolygons wrong without a Navigation2D node
...
The legacy navigation was positioning baked TileMap navpolygons relative to the current Navigation2D node assuming that it is usually one of the parent nodes.
Without the deprecated Navigation2D node the default navigation map of the world_2d is used. This navigation map has no relative Node2D so it needs to use the global_transform of the TileMap to place navregions with the correct offset in case the TileMap is moved from the origin.
(cherry picked from commit 881e49c375
)
2022-09-22 20:37:48 +02:00
kobewi
fdf76bbcef
Fix crash when playing Tween right after finishing
...
(cherry picked from commit 1a462bc84e
)
2022-09-20 10:28:14 +02:00
lawnjelly
0546d268a1
CPUParticles initialize data on set_amount
...
Fills particle data with zeroes on resize using set_amount(), to prevent garbage data including Nans being sent to VisualServer, which can corrupt the spatial partitioning.
(cherry picked from commit fdd82f4754
)
2022-09-20 10:24:56 +02:00
lawnjelly
9f646c867d
Low priority redraw request for AnimatedSprite
...
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
(cherry picked from commit 54a939a029
)
2022-09-20 10:23:31 +02:00
lawnjelly
3e848096e8
Portals - Show RayCast debug helper
...
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
(cherry picked from commit 09befec1ed
)
2022-09-20 10:23:06 +02:00
lawnjelly
c7d9c3b21f
Fix uninitialized data reads in Input
...
Found by Valgrind.
(cherry picked from commit d60eae3dbc
)
2022-09-09 14:35:08 +02:00
lawnjelly
1c6467c6e4
FlowContainer fix uninitialized data
...
This uninitialized data was finding its way into the renderer.
(cherry picked from commit fa4a325180
)
2022-09-09 14:29:43 +02:00
Michael Alexsander
a65247a405
Fix some corner cases in the `Menu/OptionButton` item auto-highlight
...
(cherry picked from commit 1e80b17a8d
)
2022-09-05 15:46:06 +02:00