Commit graph

34714 commits

Author SHA1 Message Date
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
Rémi Verschelde
e771804e78
Fix some Clang -Wunused-but-set-variable warnings 2022-12-21 12:15:52 +01: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
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
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
Rémi Verschelde
84566b3296
Merge pull request #70089 from Rubonnek/3x-avoid-compiling-editor-checks-in-visibilitynotfier2d
[3.x] Avoid compiling Editor checks in release builds for `VisibilityNotifier2D`
2022-12-17 14:27:21 +01:00
Rémi Verschelde
1f9f6f60b3
Merge pull request #67934 from alfredbaudisch/vs-operator-aliases-3.x
[3.x] Add math operators to Visual Shader node names
2022-12-17 14:27:11 +01:00
Fredia Huya-Kouadio
4110d48b63 Add boot splash for the Godot Editor 2022-12-16 09:54:50 -08:00
Marius Hanl
09f974b21d Check for null event in Tree._gui_input to avoid engine crash 2022-12-15 17:35:53 +01:00
Alfred Reinold Baudisch
7779164096 Add math operators to Visual Shader node names
This change makes it easy, in the "Create Shader Node" dialog, to search for VS nodes by just typing the operator. For example, instead of typing "multiply", you can just type "*" and multiply nodes will be listed.

This feature is inspired by Unreal Engine node graph editor's UX.

Backported from https://github.com/godotengine/godot/pull/67905
2022-12-15 17:21:37 +01:00
Wilson E. Alvarez
78b8cf7edb
Avoid compiling Editor checks in release builds for VisibilityNotifier2D 2022-12-15 11:13:10 -05:00
Rémi Verschelde
4d8b9be48d
embree: Sync build flags with master
Fixes Android ARM build.
These flags were added in master with 3f6ed10a5d.
2022-12-15 13:53:02 +01:00
Rémi Verschelde
6963ba631e
Fix typos with codespell 2022-12-15 12:26:59 +01:00
Dennis Ranke
55441f2301
handle ambiguous input events as touch events
there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events.

(cherry picked from commit 408000752c)
2022-12-15 12:18:41 +01:00
Rémi Verschelde
583aea8cd2
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
adamscott, alfredbaudisch, DarkKilauea, DeeJayLSP, dzil123,
jasonwinterpixel, jtnicholl, nikitalita, Riteo, rune-scape, TechnoPorg

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 85ca32bce6)
2022-12-15 12:17:45 +01:00
Rémi Verschelde
d79699041a
Merge pull request #70038 from m4gr3d/update_navigation_controls_toggle_3x
[3.x] Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:35:41 +01:00
Rémi Verschelde
bd7141db3f
Merge pull request #54115 from Rubonnek/fix-40310
[3.x] Do not fire VisibilityNotifier `screen_entered` and `screen_exited` signals in the Editor
2022-12-14 11:35:30 +01:00
Fredia Huya-Kouadio
0825859a94 Update the visibility logic for the spatial editor navigation controls 2022-12-13 16:17:22 -08:00
Wilson E. Alvarez
6a8bae4e35
Do not fire VisibilityNotifier screen_entered and screen_exited signals in the Editor 2022-12-13 10:29:28 -05:00
Rémi Verschelde
0b7eb2f744
i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit f5f0543aec)
2022-12-13 14:37:39 +01:00
Rémi Verschelde
e25d6a0ec2
i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit ee8986e146)
2022-12-13 14:37:34 +01:00
Haoyu Qiu
6f69d29398
Fix crash after executing ItemList.set_icon_scale
(cherry picked from commit 8d0fa193c3)
2022-12-13 14:24:25 +01:00
Rémi Verschelde
5797b2f437
Merge pull request #69826 from norrath-hero/3.x
Fix GLES 2 Spotlight bug
2022-12-13 14:16:51 +01:00
Rémi Verschelde
59ab3626d3
Merge pull request #69960 from akien-mga/3.x-lsp-fix-root-uri
LSP: Improve handling of file URI scheme
2022-12-13 14:15:15 +01:00
Rémi Verschelde
a916529023
Merge pull request #69976 from DeeJayLSP/update_stb
Update stb libraries
2022-12-13 14:15:02 +01:00
DeeJayLSP
55deecb9a3 Update stb libraries 2022-12-12 15:06:22 -03:00
Rémi Verschelde
5d5f0a3958
Merge pull request #69963 from lawnjelly/variant_parser_optional_readahead_3
VariantParser make readahead optional [3.x]
2022-12-12 19:02:17 +01:00
lawnjelly
776c9d0579 VariantParser make readahead optional
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.

This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-12 15:44:39 +00:00
Rémi Verschelde
2343ba148b
Merge pull request #69959 from Calinou/distance-fade-use-circular-fade-3.x
Use circular fade instead of linear fade for distance fade (3.x)
2022-12-12 16:07:31 +01:00
Rémi Verschelde
2c714f19e5
Merge pull request #65453 from timothyqiu/agent-target-3.x
[3.x] Make NavigationAgent `target_location` a property
2022-12-12 16:07:25 +01:00
Lamia
a412922c2b
LSP: Improve handling of file URI scheme
Fixes #63205.

(cherry picked from commits 3fa943fe23,
42a16ef76e and
2ff69d6181)
2022-12-12 15:58:20 +01:00
Rémi Verschelde
3a2f2d99f6
Merge pull request #69957 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 10th batch
2022-12-12 15:53:39 +01:00
Hugo Locurcio
56ac14fbf0
Use circular fade instead of linear fade for distance fade
This makes distance fade look the same regardless of the camera angle,
for all distance fade modes (Pixel Alpha, Pixel Dither, Object Dither).
Distance fade now behaves like fog in this regard.
2022-12-12 15:16:34 +01:00