Commit Graph

63928 Commits

Author SHA1 Message Date
Rémi Verschelde d4d0e34bb4
SCons: Preserve `Environment` values when updating `Variables`
Finally reading the docs for `SCons.Variables.Update` let me find this optional
parameter, which solves the hacks and pain we've dealt with for years:

> args (optional) – a dictionary of keys and values to update in env.
> If omitted, uses the variables from the commandline.

By passing the environment itself, we preserve the values we've overridden in
`SConstruct` or `detect.py`.
2024-05-10 16:57:23 +02:00
Rémi Verschelde 2ba22d1554
Merge pull request #91790 from lawnjelly/fix_tight_light_cull_directional_colinear4
Tighter light culling - fix directional lights colinear case
2024-05-10 10:48:54 +02:00
Rémi Verschelde 7724a50c28
Merge pull request #91779 from kitbdev/select-next-replace
Select next text to replace
2024-05-10 10:48:51 +02:00
Rémi Verschelde e11796384c
Merge pull request #91777 from KoBeWi/HISTORY_MISMATCH_PLEASE_INSERT_VALID_HISTORY
Fix Sprite2D editor history mismatch
2024-05-10 10:48:48 +02:00
Rémi Verschelde 9c388ce5d3
Merge pull request #91760 from groud/fix_PropertyListHelper_not_handling_array_size
Fix `PropertyListHelper::_get_property` returning a valid value even if an index is outside the array valid indices
2024-05-10 10:48:42 +02:00
Gilles Roudière 7705265477 Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-05-10 10:46:04 +02:00
lawnjelly a76243a549 Tighter light culling - fix directional lights colinear case
Exactly the same fix as done already for non-directional lights.
2024-05-10 09:13:05 +01:00
Rémi Verschelde da5714ad6e
Merge pull request #91775 from dsnopek/openxr-composition-layer-viewport-in-use-bug
Fix `layer_viewport` getting cleared on `OpenXRCompositionLayer` in editor
2024-05-10 09:56:15 +02:00
Rémi Verschelde d24403d056
Merge pull request #91763 from paulloz/dotnet/fix-stringextension-warnings
C#: Fix comparison warnings in `StringExtensions.cs`
2024-05-10 09:56:12 +02:00
Rémi Verschelde 3a5593a721
Merge pull request #91761 from DarkiStar/crypto
[Doc] Update Crypto example
2024-05-10 09:56:09 +02:00
Rémi Verschelde a29482506a
Merge pull request #91757 from Chaosus/fix_color_picker_placement
Fix placement of ColorPicker in the editor
2024-05-10 09:56:06 +02:00
Rémi Verschelde 6766404afa
Merge pull request #91745 from timothyqiu/destruct
Fix memory leak when ASTC compression fails
2024-05-10 09:56:03 +02:00
Rémi Verschelde 84f6a3de31
Merge pull request #91732 from Naputt1/fix-2d-editor-selection
Fix 2d editor selection persisting after application loses focus.
2024-05-10 09:56:00 +02:00
Rémi Verschelde e6780b54bb
Merge pull request #91727 from RandomShaper/cmd_queue_prealloc
`CommandQueueMT`: Pre-allocate memory to avoid a bunch of allocations at startup
2024-05-10 09:55:57 +02:00
Rémi Verschelde 7704457434
Merge pull request #91645 from ZerxZ/dotnet/hint-string-fix
Fix C# Hint NodeType and ResourceType HintString
2024-05-10 09:55:54 +02:00
Rémi Verschelde 6fcdd24468
Merge pull request #91624 from Repiteo/scons/native-generation
SCons: Generate all scripts natively, implement wrapper function
2024-05-10 09:55:51 +02:00
Rémi Verschelde b7783a43c5
Merge pull request #91564 from paulloz/huisedenanhai-fix_csharp_method_info
CSharpScript should not own method infos of the base class
2024-05-10 09:55:47 +02:00
Rémi Verschelde c469ab0104
Merge pull request #91507 from lyuma/expose_process_modification
Allow users to override `SkeletonModifier3D._process_modification`
2024-05-10 09:55:44 +02:00
Rémi Verschelde 19219f7716
Merge pull request #91348 from basicer/patch-1
Update CryptoKey documentation to mention ECC.
2024-05-10 09:55:40 +02:00
Rémi Verschelde 6342ab2bc3
Merge pull request #88058 from rsubtil/fix_warning_icon_light_theme
Tweak error and warning colors and fix `StatusWarning` icon visibility on light themes
2024-05-10 09:55:35 +02:00
Rémi Verschelde 275be735c5
Merge pull request #91751 from akien-mga/scons-windows-revert-85319
Revert "Implement "get_mingw_tool" to fix mingw prefixes"
2024-05-10 09:55:27 +02:00
Paul Joannon af5f695a99
Fix comparison warnings in `StringExtensions.cs` 2024-05-10 09:42:58 +02:00
Lyuma 1ccf0c2947 Allow users to override SkeletonModifier3D._process_modification 2024-05-09 19:48:56 -07:00
kit ef3cf7dc0f Select next text to replace 2024-05-09 18:00:09 -04:00
kobewi ea04fc7cde Fix Sprite2D editor history mismatch 2024-05-09 22:12:55 +02:00
David Snopek a8a7110b90 Fix `layer_viewport` getting cleared on `OpenXRCompositionLayer` in editor 2024-05-09 14:05:20 -05:00
Carsten e119e48d4d
[Doc] Update Crypto example
- Removed redundant new() initializations
- removed _ready and node
- improved readability
2024-05-09 14:36:28 +02:00
Yuri Rubinsky 1fd1adc285 Fix placement of ColorPicker in the editor 2024-05-09 15:16:33 +03:00
Paul Joannon 1d7085571e
CSharpScript should not own base script signals 2024-05-09 13:46:25 +02:00
Pedro J. Estébanez c0529dc4f2 CommandQueueMT: Pre-allocate memory to avoid a bunch of allocations at startup 2024-05-09 11:51:07 +02:00
Rémi Verschelde 8a57f64255
Revert "Implement "get_mingw_tool" to fix mingw prefixes"
This reverts commits ecebe0b40d
and 15d37ed2a8.

Fixes #91710.
2024-05-09 11:10:32 +02:00
Haoyu Qiu a35ff3c737 Fix memory leak when ASTC compression fails 2024-05-09 14:41:35 +08:00
Rob Blanckaert ba07ae83b5 Update CryptoKey documentation to mention ECC.
The documentation makes it seem like CryptoKey can only hold an RSA key.  This is compounded by the fact that Cypto only has a function generate an RSA based key.  Godot however is perfectly happy loading and using ECC based keys.
2024-05-08 20:14:04 -07:00
Rémi Verschelde c4279fe3e0
Merge pull request #91725 from RandomShaper/cmd_queue_avoid_skip
`CommandQueueMT`: Fix sync command awaiters missing the chance
2024-05-09 02:06:34 +02:00
naputt 9e196b7d8c fix 2d editor selection 2024-05-08 19:34:17 +01:00
Pedro J. Estébanez a4014a2f78 CommandQueueMT: Fix sync command awaiters missing the chance 2024-05-08 18:56:58 +02:00
Rémi Verschelde cff016d6dd
Merge pull request #91714 from DeeJayLSP/qoalen-fix
Use data length on QOA checks instead of min size
2024-05-08 18:23:05 +02:00
Rémi Verschelde 4778b24366
Merge pull request #91597 from Repiteo/ci/pre-commit-handle-everything
CI: Overhaul static checks to use `pre-commit`
2024-05-08 18:22:59 +02:00
Rémi Verschelde 15d20000fa
Merge pull request #91174 from Calinou/editor-gizmo-icons-tweak-rendering
Tweak appearance of 3D editor gizmo icons
2024-05-08 18:22:55 +02:00
Rémi Verschelde 68422ab342
Merge pull request #90913 from RandomShaper/wtp_servers_pro
Apply additional fixes to servers' threading
2024-05-08 18:22:48 +02:00
Pedro J. Estébanez 1589433e8f Apply additional fixes to servers' threading 2024-05-08 17:41:40 +02:00
Pedro J. Estébanez 6f0760beb3 CommandQueueMT: Fix command cleanup (revive destructor call + plus handle buffer realloc) 2024-05-08 17:41:40 +02:00
Pedro J. Estébanez b834037841 Object: Add missing lock 2024-05-08 17:41:40 +02:00
Pedro J. Estébanez 755c7494c2 OpenGL: Honor separate management of RT's backbuffer FBO and texture upon clear 2024-05-08 17:41:40 +02:00
Pedro J. Estébanez fc08eca524 DisplayServer: Avoid deadlocks while issuing input events and recursive main loop iterations 2024-05-08 17:41:40 +02:00
Thaddeus Crews df969ff742
CI: Overhaul static checks to use `pre-commit` 2024-05-08 10:30:24 -05:00
Gaoyao Massimo Hu 06b716d8b3
Fix C# Hint NodeType and ResourceType HintString 2024-05-08 16:22:52 +01:00
Hugo Locurcio e52c9cd9f1
Tweak appearance of 3D editor gizmo icons
- Use alpha scissor to resolve transparency sorting issues with gizmo
  icons relative to other transparent materials in the scene.
  This also makes gizmos visible in `screen_texture`, which means
  gizmos can now be seen through refractive materials.
  Lastly, this reduces the amount of artifacts visible around gizmo
  outlines (although they are still present at times).
- Make icons darker when not selected to be less intrusive
  (and easier to distinguish when selected).
2024-05-08 17:13:14 +02:00
DeeJayLSP 97a70cbd6e Use data length on QOA checks instead of min size 2024-05-08 12:05:21 -03:00
Rémi Verschelde 2042420bd7
Merge pull request #91709 from KoBeWi/deawkwarding_labels
Improve transition enabled header in interactive music editor
2024-05-08 14:35:48 +02:00