Commit Graph

34129 Commits

Author SHA1 Message Date
Hugo Locurcio c209c6faba
Increase the editor profiler frame history default and maximum limit
The new default value (1800) allows storing 30 seconds of profiling
at 60 FPS.

The new maximum value (10000) allows storing about 3 minutes of
profiling at 60 FPS.

The profiler graph will scale accordingly to the chosen setting,
so the default value is kept relatively low to prevent the graph
from looking too squished on narrow displays.
2022-05-28 01:05:34 +02:00
kleonc 736b0c4e97 PopupMenu Fix hover stylebox overflowing horizontally 2022-05-27 23:35:17 +02:00
Rémi Verschelde 53843de558
Merge pull request #61442 from clayjohn/glow-fxaa-bug
[3.x] Disable Alpha throughout Glow and FXAA
2022-05-27 10:21:03 +02:00
Rémi Verschelde 340283f5be
Merge pull request #61428 from fire-forge/prop-space-3.x
[3.x] Remove extra space in property editors
2022-05-26 22:35:02 +02:00
clayjohn f92141be13 Disable Alpha throughout Glow and FXAA code in order to avoid issues with transparent viewports 2022-05-26 11:15:35 -07:00
Rémi Verschelde 83d0e97e03
Merge pull request #61430 from 31/dev/31/debuggerwait
C#: Fix debugger options missing from Project Settings
2022-05-26 09:07:18 +02:00
31 826415ad2f C#: Fix debugger options missing from Project Settings 2022-05-25 20:43:00 -07:00
FireForge e5db39d07b Remove extra space in property editors
- NodePath, Resource, and multiline string
2022-05-25 19:04:44 -05:00
Rémi Verschelde f880904c7a HTML5: Run `npm audit fix`
And re-add `node_modules` to `.gitignore` which I mistakenly removed
with an earlier cleanup.

(cherry picked from commit 6aa7449d60)
2022-05-25 14:59:03 +02:00
Rémi Verschelde 9d1d386bd0 HTML5: Enable mbedTLS module for Crypto object
Increases the size of the wasm by around 3% (~300-350 KiB).

This enables using the Crypto object for hashing, signing and encryption,
and therefore reduces the gap between the features of the HTML5 platform
and other platforms.

Closes https://github.com/godotengine/godot-proposals/issues/3574.

(cherry picked from commit 3ff6d794c0)
2022-05-25 14:52:57 +02:00
Rémi Verschelde 78c54043ce HTML5: Always disable Asset Library
GitHub doesn't allow CORS so we can't download assets from it.

There'd also be more work needed for the Asset Library plugin to be
usable in the Web editor even if that was supported.

(cherry picked from commit 42b48496de)
2022-05-25 14:51:43 +02:00
smix8 3891186536 Fix GridMap not adding custom mesh offsets to NavigationMesh generation
Fix GridMap not adding custom mesh offsets to NavigationMesh generation

(cherry picked from commit ae4b2597a1)
2022-05-25 14:10:20 +02:00
Rémi Verschelde 1b297eb047 Project Manager: Fix crash on resize with assetlib disabled
Follow-up to #61215.

(cherry picked from commit 6f5be1f1f0)
2022-05-25 14:07:33 +02:00
Rémi Verschelde 654d6165a6
Merge pull request #61405 from akien-mga/3.x-android-export-poll-300ms 2022-05-25 14:03:55 +02:00
Rémi Verschelde d020346c0d
Merge pull request #61403 from lawnjelly/occpoly_gizmo_fix 2022-05-25 12:55:08 +02:00
Rémi Verschelde 2b2a1b4c71 Android: Change export plugin poll to 300 ms
This removes the reliance on the not-so-fully-implemented Power API,
which throws an error in the HTML5 editor.

This was already changed to 200 ms in the master branch, and here I
picked 300 ms to be consistent with the iOS export plugin. All these
thread sleeps need to be re-assessed together to be made more
consistent (and possibly configurable - and most importantly battery
preserving by default).
2022-05-25 12:16:24 +02:00
lawnjelly cdba2935a1 Fix Occluder Poly gizmo warning spam
The call to draw the handles in the OccluderPoly was spamming errors when the hole has no points. This PR prevents trying to draw the gizmo for the hole when there are no points, which prevents the spam.
2022-05-25 10:50:15 +01:00
Rémi Verschelde 2344bf6431
Merge pull request #61382 from clayjohn/alpha-bug 2022-05-24 23:50:07 +02:00
Rémi Verschelde cb1ffbd0f6
Merge pull request #61383 from ChronicallySerious/fix-commit-list-size 2022-05-24 23:49:55 +02:00
Rémi Verschelde 10eb8cac9c
Merge pull request #61381 from ChronicallySerious/fix-commit-tab-move 2022-05-24 23:38:10 +02:00
ChronicallySerious 6f3975691e VCS: Change Commit list size button signal to item_selected
This is in contrast to the previous signal in use - "pressed", which doesn't get emitted on simple clicks on the OptionButton to open the popup.

Also, fixes the ids using which the metadata was being set on the items on the commit list. The commit list size button items now work as expected
2022-05-25 03:02:13 +05:30
clayjohn 9927515254 Disable alpha in post process when using opaque framebuffer 2022-05-24 14:11:09 -07:00
Rémi Verschelde 5d65cf2035
Merge pull request #61375 from clayjohn/alpha-bug
Disable writing to alpha with opaque framebuffer
2022-05-24 23:07:26 +02:00
ChronicallySerious da563916e6 VCS: Don't assume Commit tab will stay at default location 2022-05-25 02:22:02 +05:30
clayjohn 027ec28126 Disable writing to alpha with opaque framebuffer 2022-05-24 10:30:49 -07:00
smix8 1bac95b166 Fix TileSetEditor wrong NavigationPolygon format
TileSets created and stored NavigationPolyons in a format that did not work for Navigation.
2022-05-24 19:07:41 +02:00
Rémi Verschelde c7d2805fec
Merge pull request #61366 from Calinou/textmesh-improve-decomposition-error-message-3.x 2022-05-24 16:25:39 +02:00
Rémi Verschelde 12fbc08bd7
Merge pull request #61362 from univeous/fix-get-meta 2022-05-24 15:33:08 +02:00
Hugo Locurcio 011ff93aa5
Tweak TextMesh decomposition error message to mention self-intersecting lines 2022-05-24 15:12:15 +02:00
Univeous e514cd71b1 fix get_meta() with defalt value 2022-05-24 20:23:08 +08:00
Aaron Record ae9e523025 [3.x] Allow ScrollBar params of a ScrollContainer to be modified from _ready()
Cherrypicks b8610dbd31
2022-05-23 21:46:59 -06:00
Rémi Verschelde 5f9bc7ea5a
Merge pull request #59637 from Calinou/doc-poolarray-value-caveats 2022-05-24 00:19:53 +02:00
Rémi Verschelde 573706bd24
Merge pull request #61212 from Calinou/project-manager-filter-order-swap-3.x 2022-05-24 00:18:06 +02:00
Rémi Verschelde 27372da450
Merge pull request #61306 from Calinou/editor-theme-gray-tweak-accent-color-3.x 2022-05-24 00:15:36 +02:00
Rémi Verschelde f13b47d9e2 Remove mistakenly committed file 2022-05-24 00:10:44 +02:00
Rémi Verschelde 10414fa893 i18n: Sync classref translations with Weblate 2022-05-24 00:06:21 +02:00
Rémi Verschelde bf2c722a25 i18n: Sync editor translations with Weblate 2022-05-24 00:06:20 +02:00
kobewi 8f52320310 Only switch to node when not dragging it
(cherry picked from commit 95bbffff48)
2022-05-24 00:06:20 +02:00
Marcel Admiraal b66b153b8c Remove duplicate Android sensor listener registrations
(cherry picked from commit cf0f967e6d)
2022-05-24 00:06:20 +02:00
Rémi Verschelde e0ddaf7137
Merge pull request #61332 from m4gr3d/fix_restart_logic_3x 2022-05-23 22:25:44 +02:00
Fredia Huya-Kouadio b162e7ac39 Fix the logic to restart the Godot application 2022-05-23 13:15:25 -07:00
Rémi Verschelde 88dba8e625 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Rémi Verschelde 07ec0cbbbf
Merge pull request #61320 from bruvzg/lbl3d_theme_font_chk_3x 2022-05-23 18:54:37 +02:00
bruvzg eb44e23ca3
[Label3D, 3.x] Monitor default theme font changes, to prevent use of invalid materials. 2022-05-23 18:16:17 +03:00
Rémi Verschelde b2cdc16a1d
Merge pull request #61281 from bruvzg/textmesh_3x
Backport TextMesh and expose dynamic font vector outlines
2022-05-23 16:16:40 +02:00
Rémi Verschelde f2e3d89562
Merge pull request #61309 from timothyqiu/label-3d-line-spacing
[3.x] Use float when calculating `Label3D` line height
2022-05-23 16:10:42 +02:00
Haoyu Qiu ff5e671c81 Use float when calculating Label3D line height 2022-05-23 17:58:51 +08:00
Rémi Verschelde 000b9c66a8
Merge pull request #61307 from bruvzg/material_key_fix
[Label3D, 3.x] Fix material shader key for SDF fonts.
2022-05-23 11:57:36 +02:00
Rémi Verschelde 2e7939256f
Merge pull request #61304 from bruvzg/icon_unref
[Windows, 3.x] Remove cached icon earlier, to prevent double free crash on exit.
2022-05-23 11:33:34 +02:00
bruvzg 1ab459a951
Fix material shader key for SDF fonts. 2022-05-23 12:03:09 +03:00