Commit Graph

7530 Commits

Author SHA1 Message Date
2f13adbdb6 Remove error condition from get_global_transform()
(cherry picked from commit 2ff676a696)
2022-12-01 11:47:52 +08:00
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
099e90e00d Make Node editable_instance methods available to GDScript
(cherry picked from commit 7eb6ae2798)
2022-12-01 10:15:06 +08:00
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
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
e359ba3733 Fix exporting big templates
(cherry picked from commit 86fa3ba560)
2022-11-30 15:34:26 +01:00
dd807ca5e7 Changed normal of CylinderMesh to account for slanted side.
(cherry picked from commit 491ec622f6)
2022-11-30 15:34:26 +01:00
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
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
85811c2b99 [3.x] BakedLightmap add null bake_end_function check 2022-11-28 00:30:17 -08:00
ffbaa7fff0 Enhance null checking for input event 2022-11-27 15:01:34 +07:00
4c26cac0e6 Improve collision exception error messages for easier understanding 2022-11-19 17:37:42 +01:00
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
d80396db03 Merge pull request #68556 from 98teg/flow-container-alignment
Add alignment options to flow container
2022-11-14 14:35:46 +01:00
3acc0779a4 Fix error when having BoneAttachment before PhysicalBone 2022-11-14 08:36:12 +08:00
7a682236df Stop centering clicked suggestions in the autocomplete popup 2022-11-13 09:17:05 -03:00
5d0c29460a Add alignment options to flow container 2022-11-12 12:11:16 +01:00
afdf00c40f [3.x] AtlasTexture in radial modes of TextureProgress 2022-11-04 13:24:47 +03:00
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
3e373c4eec Add ShapeCast2D/3D::get_collider_rid method 2022-11-02 15:20:13 +01:00
3e186ae043 fix: emit target_reached signal after updating state 2022-10-31 13:04:20 +01:00
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
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
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
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
5d6dc206bc Fix get_path() error when calling get_node() 2022-10-19 13:05:41 +08:00
6059cf2594 Expose various color themes for Button 2022-10-12 18:19:52 -03:00
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
a0ad958582 Hide text of RichTextLabel if BBCode is enabled 2022-10-11 15:21:19 +02:00
456c0ecda6 Remove leading spaces from enumerator name hints 2022-10-08 15:23:46 +08:00
f793f20d65 Merge pull request #41464 from Waridley/button_multiline_strings
Support multiline strings in buttons
2022-10-03 13:58:44 +02:00
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
199f3d99c3 Support multiline strings in buttons 2022-10-01 21:50:39 -05:00
acf86efebc Fix NavigationObstacle not estimating radius 2022-09-29 14:39:14 +08:00
fba5a4ab9a Fix NavigationObstacle not registering to default navigation map 2022-09-28 15:49:26 +08:00
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
4207983ce9 Merge pull request #66145 from lawnjelly/object_get_name 2022-09-21 12:04:19 +02:00
17f42e8e66 Improve signal already connected error message
The signal already connected message is improved to provide the names of the objects involved.
2022-09-21 07:52:30 +01:00
edc196f926 Merge pull request #66063 from kleonc/sprite3d-fix-drawing-with-vertical-margins-3x
[3.x] `Sprite3D`/`AnimatedSprite3D` Fix drawing `AtlasTexture`s with vertical margins differently than in 2D
2022-09-20 23:06:57 +02:00
dbce96abd9 Don't store frame of playing AnimatedSprite 2022-09-20 13:11:50 +02:00
1aee1b1720 Fix crash when playing Tween right after finishing
(cherry picked from commit 1a462bc84e)
2022-09-20 10:26:17 +02:00
fdd82f4754 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.
2022-09-19 16:53:01 +01:00
0a64c2eba5 SpriteBase3D Fix drawing AtlasTextures with vertical margins differently than in 2D 2022-09-18 20:27:23 +02:00
0bf2b8e813 Move duplicated drawing code from Sprite3D/AnimatedSprite3D to SpriteBase3D 2022-09-18 20:27:09 +02:00
a10c2d4a38 Merge pull request #65686 from lawnjelly/portals_show_raycast
Portals - Show RayCast debug helper
2022-09-12 11:34:25 +02:00
09befec1ed Portals - Show RayCast debug helper
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-12 06:46:48 +01:00
54a939a029 Low priority redraw request for AnimatedSprite
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-11 19:09:07 +01:00
2aee09c6bc Merge pull request #65428 from lawnjelly/input_uninit 2022-09-09 14:28:06 +02:00
92fa63886c Merge pull request #65397 from maximkulkin/3.x-graph-edit-node-selection 2022-09-07 17:52:24 +02:00
8acc25578e Fix code folding icon color not matching defined color
Cherrypick of #58457 in master

Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.

    - Create new icons for use specifically in the code editor
    - Add these icons to the exceptions when converting dark theme icons
    to light theme automatically
    - Change the default value of the code folding color to match previous
    color
    - Code folding icon is now pure white by default to correctly match
    the color defined in settings
2022-09-06 21:50:33 +05:30