Commit Graph

7545 Commits

Author SHA1 Message Date
Rémi Verschelde bfce0c1e52
Merge pull request #59765 from pfertyk/issue-59359-wrong-visible-line-count-if-newline
Fix wrong visible line count for newline
2022-12-12 13:40:14 +01:00
Phnix 9ac09dfb64 incorrect range value with min value and step
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.

Co-Authored-By: Astral-Sheep <109028693+Astral-Sheep@users.noreply.github.com>
(cherry picked from commit fe1f8443a4)
2022-12-12 14:22:54 +08:00
smix8 16bb34d23d 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:19:46 +08:00
Rémi Verschelde f128170a18
Merge pull request #69558 from timothyqiu/canvas-layer-unique-call
[3.x] Fix CanvasLayer visibility toggle can only run once per frame
2022-12-11 15:39:57 +01:00
Hugo Locurcio 5115db63aa
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 20:04:56 +01:00
Rémi Verschelde c42bbc6feb
Merge pull request #69585 from bruvzg/fix_tm_tr
[TextMesh, 3.x] Fix auto-translation and ignore control chars.
2022-12-05 00:13:42 +01:00
Rémi Verschelde 4b7b9b74bc
Merge pull request #69569 from timothyqiu/tree-update-remove-child
[3.x] Fix TreeItem.remove_child not updating Tree immediately
2022-12-05 00:13:37 +01:00
bruvzg efa6b01c97
[TextMesh, 3.x] Fix auto-translation and ignore control chars. 2022-12-04 23:11:28 +02:00
Haoyu Qiu 7bdbfbf822 Fix TreeItem.remove_child not updating Tree immediately 2022-12-04 21:37:19 +08:00
Silc Renew 1a45268639 Fix animation signal caches_cleared firing timing
(cherry picked from commit 962b6a3e8f)
2022-12-04 20:24:55 +08:00
Haoyu Qiu a6a89356b7 Fix CanvasLayer visibility toggle can only run once per frame 2022-12-04 14:49:19 +08:00
Rémi Verschelde af635f05bf
Merge pull request #68630 from m4gr3d/fix_input_event_screen_drag_routing_3x
[3.x] Fix routing of `InputEventScreenDrag` events to `Control` nodes
2022-12-01 18:13:52 +01:00
Dawid Marzec 1a123070c8 Remove auto selecting the first file for FileDialog with Save file mode selected
(cherry picked from commit 5cd30be56d)
2022-12-01 12:27:43 +08:00
kobewi 2f13adbdb6 Remove error condition from get_global_transform()
(cherry picked from commit 2ff676a696)
2022-12-01 11:47:52 +08:00
Markus Sauermann 0ae562c9dc Update root order on layer change
When the layer of a CanvasLayer changes, the order of roots needs to be recalculated.

(cherry picked from commit 8d60e8b5d4)
2022-12-01 10:23:04 +08:00
Lyuma 099e90e00d Make Node editable_instance methods available to GDScript
(cherry picked from commit 7eb6ae2798)
2022-12-01 10:15:06 +08:00
Fredia Huya-Kouadio b28bcb4cfc Fix the logic used to route `InputEventScreenDrag` events to `Control` nodes. 2022-11-30 14:16:26 -08:00
Haoyu Qiu 3b869e8027
Fix crash of queue_free() when main loop is not SceneTree
(cherry picked from commit 3b08d0e852)
2022-11-30 15:44:49 +01:00
Micky 2ab79719b2
Fix ColorPicker always emitting color_changed on html submit
The color change was always emitted when the the modal was closed, even if it was exactly the same as before.

(cherry picked from commit 544727ac1e)
2022-11-30 15:36:25 +01:00
Rafał Mikrut e359ba3733
Fix exporting big templates
(cherry picked from commit 86fa3ba560)
2022-11-30 15:34:26 +01:00
jbcolli2 dd807ca5e7
Changed normal of CylinderMesh to account for slanted side.
(cherry picked from commit 491ec622f6)
2022-11-30 15:34:26 +01:00
hare_ware 4150749698
Fix Skeleton3D falsely assuming all physical bones will be children of their first bone
(cherry picked from commit 913f57f695)
2022-11-30 15:34:26 +01:00
Rémi Verschelde 6f91639af2
Merge pull request #69246 from nongvantinh/3.x-check-null-for-input_event
3.x Enhance null checking for input event
2022-11-28 13:21:22 +01:00
dzil123 85811c2b99 [3.x] BakedLightmap add null bake_end_function check 2022-11-28 00:30:17 -08:00
Nong Van Tinh ffbaa7fff0 Enhance null checking for input event 2022-11-27 15:01:34 +07:00
Hugo Locurcio 4c26cac0e6
Improve collision exception error messages for easier understanding 2022-11-19 17:37:42 +01:00
Rémi Verschelde 1ad9992ab7
Merge pull request #67995 from YeldhamDev/how_backporting
[3.x] Stop centering clicked suggestions in the autocomplete popup
2022-11-14 23:52:00 +01:00
Rémi Verschelde d80396db03
Merge pull request #68556 from 98teg/flow-container-alignment
Add alignment options to flow container
2022-11-14 14:35:46 +01:00
Haoyu Qiu 3acc0779a4 Fix error when having BoneAttachment before PhysicalBone 2022-11-14 08:36:12 +08:00
Michael Alexsander 7a682236df Stop centering clicked suggestions in the autocomplete popup 2022-11-13 09:17:05 -03:00
Teggy 5d0c29460a Add alignment options to flow container 2022-11-12 12:11:16 +01:00
arkology afdf00c40f [3.x] AtlasTexture in radial modes of TextureProgress 2022-11-04 13:24:47 +03:00
Rémi Verschelde e0682f6d8f
Merge pull request #67626 from bruvzg/improve_font_packing_and_delay_texture_update_3
[3.x] Improve font glyph cache packing and texture update.
2022-11-03 11:33:23 +01:00
kleonc 3e373c4eec Add `ShapeCast2D/3D::get_collider_rid` method 2022-11-02 15:20:13 +01:00
Sam Briels 3e186ae043 fix: emit target_reached signal after updating state 2022-10-31 13:04:20 +01:00
Rémi Verschelde 80b50e59d5
Merge pull request #67612 from timothyqiu/who-ami-i-3.x
[3.x] Fix get_path() error when calling get_node()
2022-10-31 12:25:12 +01:00
Rémi Verschelde 20ce0284cf
Merge pull request #67313 from Mickeon/3.x-rename-params
[3.x] Rename `set_indexed` & `get_child`'s params to be clearer
2022-10-31 12:24:58 +01:00
Rémi Verschelde f52f797f59
Merge pull request #67255 from KoBeWi/remove_text_from_RichTextLabel
Hide text of RichTextLabel if BBCode is enabled
2022-10-31 12:24:53 +01:00
bruvzg 46e2e0f62e
[3.x] Improve font glyph cache packing shelf best height fit heuristic, delay font texture update, until texture is accessed. 2022-10-19 14:31:41 +03:00
Haoyu Qiu 5d6dc206bc Fix get_path() error when calling get_node() 2022-10-19 13:05:41 +08:00
Michael Alexsander 6059cf2594 Expose various color themes for `Button` 2022-10-12 18:19:52 -03:00
Micky 6102f3cfc2 [3.x] Rename `set_indexed` & `get_child`'s params to be clearer
3.x backport of #67300 and #64463.
2022-10-12 20:55:41 +02:00
kobewi a0ad958582 Hide text of RichTextLabel if BBCode is enabled 2022-10-11 15:21:19 +02:00
Haoyu Qiu 456c0ecda6 Remove leading spaces from enumerator name hints 2022-10-08 15:23:46 +08:00
Rémi Verschelde f793f20d65 Merge pull request #41464 from Waridley/button_multiline_strings
Support multiline strings in buttons
2022-10-03 13:58:44 +02:00
Rémi Verschelde 90f6baf26c Merge pull request #66155 from KoBeWi/animat3d_diff
[3.x] Don't store frame of playing AnimatedSprite
2022-10-03 13:58:28 +02:00
Waridley 199f3d99c3 Support multiline strings in buttons 2022-10-01 21:50:39 -05:00
Haoyu Qiu acf86efebc Fix NavigationObstacle not estimating radius 2022-09-29 14:39:14 +08:00
Haoyu Qiu fba5a4ab9a Fix NavigationObstacle not registering to default navigation map 2022-09-28 15:49:26 +08:00
smix8 881e49c375 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.
2022-09-22 17:14:51 +02:00