Commit Graph
51458 Commits
Author SHA1 Message Date
Yuri Sizov 7f4b71b682 Add missing CheckButton icons 2022-02-14 16:23:59 +03:00
trollodel 05b56f316d Remove most EditorNode constructor parameters and fields 2022-02-14 14:16:24 +01:00
Rémi VerscheldeandGitHub 6e73aa0497 Merge pull request #57887 from Faless/crypto/4.x_os_get_entropy 2022-02-14 12:15:10 +01:00
Fabio Alessandrelli f4a80f9ca7 [OSX] Codesign exporter now uses CryptoCore RNG. 2022-02-14 10:45:50 +01:00
Fabio Alessandrelli f72bd67068 [ResourceUID] Use CryptoCore::RandomGenerator for IDs. 2022-02-14 10:45:50 +01:00
Fabio Alessandrelli ee7b67e135 [Crypto] Implement CryptoCore::RandomGenerator.
As a cryptographically secure random generator.

Internally it uses mbedTLS CTR-DRBG implementation which gets re-seeded
with entropy from OS::get_entropy when needed.

CryptoCore now additionally depends on `ctr_drbg.c` and `entropy.c`
thirdparty mbedtls files.
2022-02-14 10:45:50 +01:00
Fabio Alessandrelli 6b5634b96a [OS/Crypto] Add get_entropy to OS.
Implemented via `BCryptGenRandom` on Windows.
Implemented via `getentropy` syscall when available.
Implemented via `/dev/urandom` device as a fallback.

The `/dev/urandom` fallback can be disabled via the `NO_URANDOM` build
flag.

Note: The HTML5 version relies on emscripten file system urandom
device which itself uses the Crypto API when available or the plain
old not crypto-safe `Math.random()` otherwise.

Restore get_entropy.
2022-02-14 10:45:50 +01:00
JFonSandGitHub 8317753c24 Merge pull request #57964 from mbrlabs/deselect
Deselect nodes in the 3D editor when pressing ESC
2022-02-14 10:42:46 +01:00
JFonSandGitHub 58199e5ad0 Merge pull request #57990 from jmb462/fix-drag-lines-precision-issue
Fix 3D editor axis drag lines precision issue
2022-02-14 10:39:44 +01:00
Rémi VerscheldeandGitHub b59c482f10 Merge pull request #58053 from kleonc/navmap-polygons-are-triangle-fans-not-triangle-strips
`NavMap` Fix polygons being treated like triangle strips instead of triangle fans
2022-02-14 10:19:34 +01:00
Rémi VerscheldeandGitHub 94f3b2807a Merge pull request #58079 from timothyqiu/anim-dup-name
Make duplicate animation prompt for new name
2022-02-14 09:44:06 +01:00
Rémi VerscheldeandGitHub 09a61cdf53 Merge pull request #57989 from RandomShaper/update_vma
Update & patch VMA, and re-implement the small buffers optimization
2022-02-14 09:07:11 +01:00
Rémi VerscheldeandGitHub 618324cd84 Merge pull request #57611 from TechnicalSoup/TechnicalSoup-patch-2
Cleanup of preprocessor directives in main.cpp
2022-02-14 08:44:25 +01:00
Rémi VerscheldeandGitHub f45fedaf96 Merge pull request #57985 from Pineapple/pitchshift-tweaks
PitchShift effect quality and performance tweaks for different pitch scale values
2022-02-14 08:27:08 +01:00
Haoyu Qiu 9aaab5b693 Make duplicate animation prompt for new name 2022-02-14 14:48:25 +08:00
TechnicalSoup 899057c710 Cleanup of preprocessor directives in main.cpp
Remove redundant set of preprocessor directives and combine duplicate if statements.
2022-02-14 16:20:31 +11:00
Michael Alexsander 2b4d417e99 Fix crash when removing tabs from TabBar 2022-02-14 01:58:17 -03:00
FireForge dbc380af59 Fix EditorProperty text and icon overlap bugs 2022-02-13 22:27:06 -06:00
Hugo Locurcio 7ca843b655 Only store _edit_use_anchors_ metadata if value is not the default
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.
2022-02-14 01:26:57 +01:00
Hugo Locurcio a1eab4779e Increase the default texel size for lightmap baking
This has several benefits:

- Baking is now significantly faster out of the box (often twice as fast).
- Lightmap texture file sizes are often divided by 2 or 3.
- Baking requires less memory and is less likely to crash on large scenes.

Visual quality may be degraded, but it's usually not very noticeable
in the default configuration where only indirect lighting is baked.
2022-02-14 00:14:01 +01:00
Hugo Locurcio a86deac049 Default PanoramaSkyMaterial texture to black instead of white
This prevents blinding the user while the user is still setting up
the panorama sky texture.
2022-02-13 22:03:09 +01:00
kleonc 5422d863e1 NavMap Fix polygons being treated like triangle strips instead of triangle fans 2022-02-13 19:26:17 +01:00
markdibarry c0caafe960 Add offset methods for lines and paragraphs in RichTextLabel
Adds `get_line_offset` and `get_paragraph_offset` methods to `RichTextLabel`

Fix arg mismatch
2022-02-13 13:15:21 -05:00
markdibarry ae7eec53c0 Add get_character_line method for RichTextLabel
Adds the ability to get the line number of provided character position

Fix arg name

Add get_character_paragraph

Replaced glyph logic with code suggestions, added get_character_paragraph method

Run doctool

Use built-in method

Replace TS access with built in method
2022-02-13 11:12:12 -05:00
Rémi VerscheldeandGitHub 48ed0400bc Merge pull request #58028 from Calinou/doc-array-hash
Clarify identical `hash()` return values due to collisions
2022-02-13 10:38:33 +01:00
Rémi VerscheldeandGitHub e9ef64526a Merge pull request #57892 from TechnicalSoup/ProjManager-Patch
Center initial position of project manager window
2022-02-13 10:37:48 +01:00
Rémi VerscheldeandGitHub 7224389468 Merge pull request #57954 from TokageItLab/refactor-cubic-interpolate
Implement `cubic_interpolate()` as MathFunc for refactoring
2022-02-13 10:34:13 +01:00
TechnicalSoup f3b7419790 Center initial position project manager window
Ensure that the project manager window is centered on the screen if any resizing is performed due to DPI scaling.
Resizing and repositioning code has been moved to after the initialisation of the window contents to improve UI response/presentation.
2022-02-13 19:48:53 +11:00
Rémi VerscheldeandGitHub aa069a4d31 Merge pull request #58033 from jmb462/fix-mouse-wheel-animation-track-zoom
Fix AnimationTrack mouse wheel zooming at low zoom level
2022-02-13 08:27:27 +01:00
jmb462 64ca6a0696 Fix AnimationTrack mouse wheel zooming at low zoom level 2022-02-13 00:24:35 +01:00
Rémi VerscheldeandGitHub 26b21dc0cb Merge pull request #58030 from pycbouh/editor-controls-dragging-n-lagging
Limit inspector updates when dragging anchored controls
2022-02-12 23:50:32 +01:00
Rémi VerscheldeandGitHub 35d8d86845 Merge pull request #58026 from jmb462/fix-visual-script-rename-function
Fix renaming function dialog in VisualScript does not work correctly
2022-02-12 23:18:43 +01:00
Rémi VerscheldeandGitHub 0203b34c7a Merge pull request #58025 from bruvzg/fix_pm_crash
Fix Project Manager crash on exit and editor settings loading / saving.
2022-02-12 23:16:24 +01:00
Rémi VerscheldeandGitHub 4368d6d80e Merge pull request #58020 from bruvzg/mac_beeps
[macOS] Fix macOS producing alert sound on some input actions.
2022-02-12 23:15:29 +01:00
Hugo Locurcio 08541fe11d Clarify identical hash() return values due to collisions 2022-02-12 22:21:37 +01:00
Yuri Sizov ddc8ec6b44 Limit inspector updates when dragging anchored controls 2022-02-13 00:19:06 +03:00
jmb462 e5657a4fbf Fix renaming function dialog in VisualScript does not work correctly 2022-02-12 21:28:28 +01:00
bruvzg 9739a2038a Fix Project Manager crash on exit.
Fix editor settings loading / saving by Project Manager.
2022-02-12 21:55:11 +02:00
Geoffroy Warin cf90394d10 use physical keys for numpad emulation in the editor
This allows non-qwerty keyboard to benefit from this features
2022-02-12 20:40:39 +01:00
bruvzg 5c641372fc [macOS] Fix macOS producing alert sound on some input actions. 2022-02-12 19:58:39 +02:00
bruvzg 29199579f7 Add sub-pixel glyph positioning support. 2022-02-12 19:55:52 +02:00
Hugo Locurcio 56b604bef7 Add sky cover texture for ProceduralSkyMaterial
This brings PhysicalSkyMaterial's Night Sky functionality to
ProceduralSkyMaterial, but in a more powerful and general fashion.

This can be used to display stars at night, or clouds at day and night.
For clouds, it won't be physically accurate, but it can look good still.

The Sky Cover Modulate property can be used to adjust the sky cover's
colors and opacity in real-time, which is useful for day/night or weather
transitions.
2022-02-12 18:39:57 +01:00
Rémi VerscheldeandGitHub d3a6b6daaa Merge pull request #56953 from bruvzg/ex_wnd 2022-02-12 16:46:55 +01:00
Rémi VerscheldeandGitHub 498805282a Merge pull request #57993 from Calinou/sky-tweak-default-values 2022-02-12 16:46:19 +01:00
Rémi VerscheldeandGitHub 732725d663 Merge pull request #58006 from bruvzg/fix_rtl_img_resize 2022-02-12 15:28:26 +01:00
Rémi VerscheldeandGitHub 7d0b9ec21a Merge pull request #52742 from Geometror/improve-project-manager-file-dialog 2022-02-12 15:28:09 +01:00
Hendrik Brucker 8ebecf5095 Increase checkerboard texture contrast 2022-02-12 14:55:07 +01:00
Rémi VerscheldeandGitHub b50ec3753e Merge pull request #58007 from reduz/fix-resoure-reuse-in-binary-loader 2022-02-12 12:48:00 +01:00
Pedro J. Estébanez 4e6c9d3ae9 Add a separate pool for small allocations in Vulkan RD 2022-02-12 12:47:08 +01:00
Pedro J. Estébanez 648a10514b vk_mem_alloc: Update to latest commit 2022-02-12 12:45:28 +01:00