Commit Graph

34895 Commits

Author SHA1 Message Date
Rémi Verschelde 085490fa06
Merge pull request #70581 from timothyqiu/drop-extern-3.x
[3.x] Fix error when dropping script into script editor
2023-01-09 09:19:46 +01:00
Rémi Verschelde 9832c9d127
Merge pull request #70593 from OsakiTsukiko/issue-62640
[3.x] Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-09 09:18:10 +01:00
Rémi Verschelde 50fd962869
Merge pull request #70583 from necrashter/fix-set-touch-input-as-handled
[3.x] Set touch input as handled only after _gui_call_input
2023-01-09 09:17:22 +01:00
Rémi Verschelde b082223263
Merge pull request #70906 from timothyqiu/tree-scroll-3.x
[3.x] Fix Tree overflow without scrolling being enabled
2023-01-09 09:16:38 +01:00
OsakiTsukiko 0a386084bc
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont 2023-01-09 09:07:48 +01:00
Haoyu Qiu 36a21a43af Fix Tree overflow without scrolling being enabled 2023-01-04 14:16:57 +08:00
Marius Hanl fa304b5130 Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
Each BBCode tag is drawn individually, so we have to add the character spacing manually.
2023-01-03 07:53:19 +01:00
Aaron Franke dc3d66bc8a
Merge pull request #70651 from aaronfranke/3.x-gltf-null-cond
[3.x] GLTF: Fix wrong error macro used in a few spots
2022-12-31 22:56:05 -06:00
Andrii Doroshenko (Xrayez) accdd575f6
Make `dict2inst` to work with arbitrary `_init` parameters
This is achieved by skipping initializer call while creating an instance
of a GDScript. This is implemented by passing -1 as an argument count
to `_new` and interpreting any value below 0 to mean that the initializer
should not be called during instantiation, because internal members of
an instance are going to be overridden afterwards.
2022-12-31 23:57:35 +01:00
Hugo Locurcio 717cbbd6e7
Tweak particles animation offset property hint to allow more precise values 2022-12-29 22:17:47 +01:00
Aaron Franke ca898a7b77
[3.x] GLTF: Fix wrong error macro used in a few spots 2022-12-27 18:55:10 -06:00
stmSi 15d6f341a7 [3.x] Fixed: `Save Branch as Scene` not workking in Remote Tree (only work when u pause) 2022-12-26 17:19:33 +06:30
necrashter 147de75e52
Set touch input as handled only after _gui_call_input 2022-12-26 11:58:32 +03:00
Haoyu Qiu bdcfb0877b Fix error when dropping script into script editor 2022-12-26 14:35:33 +08:00
stmSi 18f44a4b67 Suggest Filename in Remote Tree File Dialog 2022-12-25 19:37:32 +06:30
stmSi 28e1fc4af9 Fix Editor hanging if audiostream's pitch_scale is NaN 2022-12-24 12:34:22 +06:30
Rémi Verschelde 0f10eafb38
mbedtls: Update to upstream version 2.28.2
(cherry picked from commit 6e65244b6b)
2022-12-22 12:27:04 +01:00
Rémi Verschelde c531d0fd43
libpng: Update to upstream 1.6.39
(cherry picked from commit 925ad18e1a)
2022-12-22 12:26:09 +01:00
ipsoftdev d41ce4d492
Do not ignore x86 source code directories anywhere under thirdparty directory
(cherry picked from commit b37f10adf7)
2022-12-22 12:25:52 +01:00
Rémi Verschelde ac589edb36
Merge pull request #69939 from timothyqiu/open-packed-scene-3.x
[3.x] Add open scene button in Inspector for PackedScene resource
2022-12-22 08:57:30 +01:00
Rémi Verschelde 3571b3f194
Merge pull request #70411 from aaronfranke/3.x-gltf-document-extension
[3.x] Backport the GLTFDocumentExtension system
2022-12-22 08:56:48 +01:00
Rémi Verschelde 5c42b82fd5
Merge pull request #70412 from Calinou/video-driver-change-require-restart
Fix Driver Name editor setting not requiring an editor restart
2022-12-22 08:56:43 +01:00
Rémi Verschelde b59b566325
Merge pull request #70262 from Maran23/3-x-editor-inspector-section-click
[3.x] EditorInspectorSection is not (un)folded when clicking under the font
2022-12-22 08:56:37 +01:00
Rémi Verschelde 39edf7ee8a
Merge pull request #70365 from lawnjelly/octree_pairing_fix
Fix pairing crash in physics Octree
2022-12-22 08:56:30 +01:00
Rémi Verschelde 7a46f61089
Merge pull request #70368 from pfertyk/issue-70187-bit-map-resize-spams-errors
Fix `BitMap.resize` error spam
2022-12-22 08:56:25 +01:00
Rémi Verschelde 309d3bf19a
Merge pull request #70343 from smix8/finalize_navigation_server_3.x
[3.x] Move navigation server finalize before physics server
2022-12-22 08:55:36 +01:00
Rémi Verschelde 3b7bb812fd
Merge pull request #70310 from Sauermann/3x-fix-follow-viewport-transform
[3.x] Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-22 08:55:28 +01:00
Rémi Verschelde 76bcc90da8
Merge pull request #70228 from Calinou/add-transparent-viewport-project-setting-3.x
Add a project setting to make the root viewport transparent (3.x)
2022-12-22 08:55:21 +01:00
Hugo Locurcio df301de95f
Fix Driver Name editor setting not requiring an editor restart 2022-12-21 18:59:01 +01:00
Rémi Verschelde e771804e78
Fix some Clang -Wunused-but-set-variable warnings 2022-12-21 12:15:52 +01:00
Aaron Franke 62e10daf70
[3.x] Backport the GLTFDocumentExtension system 2022-12-21 00:40:00 -06:00
Rémi Verschelde edbfaa1d80
Merge pull request #70185 from timothyqiu/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 11th batch
2022-12-21 07:13:32 +01:00
kleonc 7b196dd0ee AtlasTexture Fix calculating rects when flipping
(cherry picked from commit c3851b91db)
2022-12-21 09:34:39 +08:00
Paweł Fertyk ddd7189b39 Fix `BitMap.resize` error spam
Fixes #70187.
2022-12-20 21:54:21 +01:00
lawnjelly 6a2912c856 Fix pairing crash in physics Octree
Remove section of code that should not run and was causing crash.
2022-12-20 19:25:34 +00:00
smix8 8e4f8c82c5 [3.x] Move navigation server finalize before physics server
Moves finalize_navigation_server() before physics server (and also OS in 3.x). The NavigationServer command queue can have objects from other servers like physics or visuals so it needs to be flushed before.
2022-12-20 11:16:47 +01:00
Markus Sauermann 608cbd8296 Include the follow-viewport-transform into CanvasLayer transform calculations
The follow-viewport-transform was missing from several calculations

3.x version of #59682
2022-12-19 19:18:54 +01:00
Marius Hanl 51859286a6 EditorInspectorSection is not folded when clicking under the font 2022-12-18 16:22:44 +01:00
Zak f974bcf074 Add `uri` property for LinkButton
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b0)
2022-12-18 10:43:39 +08:00
Tomasz Chabora 4951f50b0f Keep property values when extending script
(cherry picked from commit 44cf3c22ac)
2022-12-18 10:32:04 +08:00
Anilforextra daa4be06b0 Enable material editor preview to be rotated.
(cherry picked from commit d4ee903004)
2022-12-18 10:32:04 +08:00
smix8 17e6d76de6 Fix Navigation agent callback wild pointer crash
Fixes crash in sanitizer builds when callback agent or object are already freed.

(cherry picked from commit 194c1c44e0)
2022-12-18 10:32:04 +08:00
Hugo Locurcio be3017114f Silence `Input.vibrate_handheld()` warning as it's already documented
The warning causes messages to be spammed if you are calling this
method in a game that runs on both desktop and mobile platforms,
unless you guard all calls to `Input.vibrate_handheld()` with
`OS.has_feature("mobile") or OS.has_feature("web")`.

Since the limitation is already documented (and is obvious enough
given the method's name), the warning message is redundant.

(cherry picked from commit 4a991887bf)
2022-12-18 10:32:04 +08:00
Haoyu Qiu b2e5c8fe10 Fix possible Tween leak on exit
(cherry picked from commit e173710963)
2022-12-18 10:32:04 +08:00
Rindbee 9056cc9c2a Fix property link not working in MultiNodeEdit
This is due to the `p_field` in the `EditorProperty::emit_changed`.
`p_field` only works for `MultiNodeEdit`, not for other objects.

(cherry picked from commit b6fdd0815c)
2022-12-18 10:32:04 +08:00
FireForge 0d602ce881 Add Vector2/3 linking to more properties
- Camera2D.zoom
- CanvasLayer.scale
- ParallaxBackground.scroll_base_scale
- ParallaxLayer.motion_scale
- Polygon2D.texture_scale
- SpatialMaterial.uv1_scale
- SpatialMaterial.uv2_scale

(cherry picked from commit 92817aa72f)
2022-12-18 10:32:04 +08:00
kobewi 9499ebecee Add vector value linking
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
(cherry picked from commit 5553e27fe8)
2022-12-18 10:32:04 +08:00
Hugo Locurcio 65465f309c
Add a project setting to make the root viewport transparent
This allows creating a project with a transparent window without having
to write any script.
2022-12-18 00:38:05 +01:00
Rémi Verschelde 3428bcd854
Merge pull request #70156 from m4gr3d/update_editor_theme_3x
[3.x] Add boot splash for the Godot Editor
2022-12-17 14:28:18 +01:00
Rémi Verschelde 607940875c
Merge pull request #70111 from Maran23/3.x-check-null-event-in-tree
[3.x] Check for null event in Tree._gui_input to avoid engine crash
2022-12-17 14:28:11 +01:00