Commit Graph

32155 Commits

Author SHA1 Message Date
Rémi Verschelde 888779a573
Merge pull request #56465 from winterpixelgames/fix-webgl2-transform-feedback-bug
Fix GPU particles transform feedback error for WebGL 2
2022-01-03 23:43:27 +01:00
Rémi Verschelde 0aa7768b1e
Merge pull request #54207 from Calinou/3d-editor-add-quick-fov-adjust-3.x 2022-01-03 20:44:00 +01:00
Rémi Verschelde 5228c06b6c
Merge pull request #56328 from pycbouh/editor-theme-goes-brrr-but-then-halts-3.x
[3.x] Make the theme editor correctly stop updating after it was hidden
2022-01-03 20:14:13 +01:00
Rémi Verschelde ccbfe8563e
Merge pull request #56427 from zaevi/3.x_csharp_file-scoped_namespace 2022-01-03 16:53:47 +01:00
Brian Semrau 2c60c29340 Fix GPU particles transform feedback for WebGL 2 2022-01-03 00:20:42 -05:00
Zae d5ad76a3c8 [3.x] [Mono] Add support for file-scoped namespace declaration. 2022-01-02 18:02:00 +08:00
Max Hilbrunner 08ce24a3c4
Merge pull request #56234 from timothyqiu/3.x-at-tool-script
Use `tool` instead of `@tool` in 3.x documentation
2022-01-02 03:09:09 +01:00
Max Hilbrunner 40f7dcbc7e
Merge pull request #56241 from KoBeWi/r3gist3r_b3for3_us3
[3.x] Improve docs about plugin registration
2022-01-02 03:08:02 +01:00
Clay John 7fcfde9b75
Merge pull request #56215 from timothyqiu/alpha-channel-3.x
[3.x] Alpha channel indicates opacity, not transparency
2021-12-29 17:54:03 -07:00
Yuri Sizov b32acc57f3 Make the theme editor correctly stop updating after it was hidden 2021-12-29 23:40:23 +03:00
Rémi Verschelde 4e4dead41a
Merge pull request #56300 from raulsntos/fix-37812-3.x
[3.x] Fix getting properties state when reloading C#
2021-12-29 10:14:21 +01:00
Raul Santos 907e709f9d Fix getting properties state when reloading C#
When reloading C# classes and keep their properties values they are
retrieved and stored in a state list.
Retrieving the properties was only getting the fields of the C# class
and not inherited fields so those properties values were lost on reload.
Now we also try to find the field in the parent classes.
2021-12-28 19:14:49 +01:00
kobewi 4fc795194b Improve docs about plugin registration 2021-12-25 16:55:03 +01:00
Haoyu Qiu 7b83b5ea3c Use tool instead of at-tool in 3.x documentation 2021-12-25 10:56:34 +08:00
Haoyu Qiu bb1eb84da4 Alpha channel indicates opacity, not transparency 2021-12-24 16:52:32 +08:00
Rémi Verschelde a75afd61a7
Merge pull request #56148 from BastiaanOlij/fix_deleting_unowned_texture 2021-12-22 17:04:34 +01:00
Bastiaan Olij 5fbc24f3e0 Fix issue with external textures being freed by Godot 2021-12-22 11:46:37 +11:00
Rémi Verschelde f2ddafd860
i18n: Add `--lang` option to `make_rst.py` to write translated headings
Add a few missing headings to the translation templates.

(cherry picked from commit b98785309f)
2021-12-21 14:40:13 +01:00
Rémi Verschelde aac4e36149
i18n: Sync classref translations with 3.x branch (3.5-beta)
This is the new base branch for the classref translations to prepare them
for the 3.5 release.

This means that the 3.4 class ref translations will likely no longer get
updates, as we can't easily maintain two slightly different branches on
Weblate.
2021-12-21 12:33:57 +01:00
Rémi Verschelde 8ed5192f74
i18n: Sync classref translations with Weblate
(cherry picked from commit eb4816ee13)
2021-12-21 12:33:57 +01:00
Rémi Verschelde 05faadab2d
i18n: Remove line numbers from classref PO files
It's useful context for translators but it generates very spammy diffs whenever
a line is added or removed, changing the comments for hundreds or thousands of
msgids needlessly.

We still have the file names so it's relatively easy to search in file to find
the location of the source string.

(cherry picked from commit dbfe36728e)
2021-12-21 12:33:56 +01:00
Rémi Verschelde 9d17215dbf
i18n: Sync editor translations with Weblate
(cherry picked from commit 0fe94ee6e5)
2021-12-21 12:33:56 +01:00
Rémi Verschelde 13d7b9018b
Merge pull request #56128 from akien-mga/3.x-cherrypicks 2021-12-21 12:33:48 +01:00
Haoyu Qiu e40bb68c05
Add / to the unix shortcut drive list
Also made `get_current_drive()` to pick the longest match on Unix.

(cherry picked from commit 67f04b381b)
2021-12-21 12:11:14 +01:00
cdemirer 8e29a37800
Clarify that replace_by keeps child nodes in tree
(cherry picked from commit 98a3948bf9)
2021-12-21 12:11:14 +01:00
kobewi 4f284893a6
Document get_minimum_size not called in some nodes
(cherry picked from commit 7d5ee8f694)
2021-12-21 12:11:14 +01:00
Micky 9fc2bc6cf2
Various improvements to Camera2D's documentation
A summary of the tweaked descriptions:
* "get_camera_position()" is explains what the camera position is, and mitigates the confusion between this method and Node2D.position;
* "get_camera_screen_center()" links to the "get_camera_position" method;
* "reset_smoothing()" links to the "smoothing_enabled" propriety;

* "drag_horizontal_offset" and "drag_vertical_offset" link to their respective _enabled_ properties;
* "limit_smoothed" links to the "smoothing_enabled" propriety;
* "rotating" clarifies that the camera _view_ rotates when enabled.

Partially closes https://github.com/godotengine/godot-docs/issues/5417, as some of the issues described are no longer present in 4.0, or are not fully solved in this PR.

Further tweaks are welcome, as I'm afraid this could be a too verbose. A few of these could be split into their PR if necessary.

(cherry picked from commit 6cf2623a20)
2021-12-21 12:11:14 +01:00
kobewi f874df58f7
Allow to copy foreign nodes
(cherry picked from commit bd6e9e0d6e)
2021-12-21 11:27:44 +01:00
vitika9 e88f387958
Added check for SceneTree being null
(cherry picked from commit 51501dadcc)
2021-12-21 11:27:33 +01:00
Pedro J. Estébanez 4f38a9e4d6
Stop asuming a default value of NIL means there's no default
(cherry picked from commit 18663aa305)
2021-12-21 11:27:14 +01:00
jabcross a074b66380
Allow selection in asset description
Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.

(cherry picked from commit 814a4ee434)
2021-12-21 11:25:57 +01:00
kleonc d0a5580321
EditorAtlasPacker Fix incorrectly deducing zero height in some cases
(cherry picked from commit 46eebf11ca)
2021-12-21 11:21:23 +01:00
Fabio Alessandrelli a40b88dc2c
Bump mbedtls to 2.16.12
Remove upstreamed patches.
Re-apply padlock and uwp patches.

NOTE: We could replace our padloack patch with mbedtls 3452.
(cherry picked from commit 36d316876b)
2021-12-21 11:20:53 +01:00
Rémi Verschelde 0462f7cacc
Merge pull request #56120 from timothyqiu/make-rst-3.x 2021-12-21 10:48:59 +01:00
Rémi Verschelde 9bc750da55
Merge pull request #56029 from madmiraal/revert-55997-3.x-fix-switch-controller-event-spam 2021-12-21 09:45:21 +01:00
Haoyu Qiu 36642738e0 Update `make_rst.py` for non-latin texts 2021-12-21 16:36:53 +08:00
Rémi Verschelde f93f2cd17d
Merge pull request #56110 from Calinou/print-fps-vsync-mode-3.x 2021-12-21 09:28:19 +01:00
Rémi Verschelde cae911f004
Merge pull request #56109 from zaevi/fix_tooltip_tr_3.x 2021-12-21 09:25:54 +01:00
Rémi Verschelde 50e1764a33
Merge pull request #56059 from bruvzg/macos_gl_off_ctx 2021-12-21 09:20:03 +01:00
Rémi Verschelde 84d1ceaa96
Merge pull request #56101 from raulsntos/fix-56095
Check a `.csproj` exists before trying to edit it
2021-12-21 00:08:23 +01:00
Hugo Locurcio 20f76f2298
Print requested V-Sync mode when Print Fps is enabled
This can be used to diagnose why the printed FPS is locked to the
monitor refresh rate.
2021-12-20 21:28:06 +01:00
Zae 23aaf78391 [3.x]Fix BaseButton's localization for tooltip text with shortcut 2021-12-21 03:44:16 +08:00
Raul Santos cf98ff248a
Check a csproj exists before trying to edit it
When folders are moved/removed from the file system, the `.csproj`
may need to be edited to update the path of C# scripts or remove them.
If a C# solution has not been created, the `.csproj` file does not exist
and therefore there is no need to edit it.
2021-12-20 16:49:16 +01:00
Rémi Verschelde 17b31738f3
Merge pull request #56037 from Rubonnek/update-detect-prime-formatting 2021-12-20 10:27:48 +01:00
Rémi Verschelde 4f58ec3812
Merge pull request #56072 from BastiaanOlij/fix_viewport_size_arvr
Fix size issue for ARVR managed viewport
2021-12-19 08:55:25 +01:00
Clay John 7a6b48bb86
Merge pull request #56061 from Ahopness/3.x
[Android] [3.x] Trunc shader function fixed in GLES2
2021-12-18 20:51:28 -08:00
Bastiaan Olij 4e4de3430e Fix size issue for ARVR managed viewport 2021-12-19 14:51:10 +11:00
Lucas Ângelo 9f68b4fea3
Trunc shader function fixed
the 'trunc' function was comparing integers with floats using the '>' operator, which is not supported in Android. This issue is now gone.
2021-12-18 17:50:58 -03:00
bruvzg ccdf1a9934
[macOS] Fix OpenGL flickering.
Fix incorrect context usage for off-screen drawing.
Remove kCGLCEMPEngine, which is causing flicker.
Disable window redraw during resize, when rendering in the separate thread.
2021-12-18 21:02:13 +02:00
Wilson E. Alvarez 1b8a9d56b3
Set default priority on PRIME detection vendor struct. 2021-12-17 15:12:17 -05:00