Commit Graph

34659 Commits

Author SHA1 Message Date
bruvzg 10073768cf
[macOS] Fix ⌘ + . + other modifier triggering twice.
(cherry picked from commit bfbbe9c1d0)
2022-11-30 15:40:12 +01:00
clayjohn f1bafe8131
Take FXAA samples from half-pixel coordinates to improve quality
(cherry picked from commit dbcc0fa2a6)
2022-11-30 15:39:00 +01:00
Micky 2ab79719b2
Fix ColorPicker always emitting color_changed on html submit
The color change was always emitted when the the modal was closed, even if it was exactly the same as before.

(cherry picked from commit 544727ac1e)
2022-11-30 15:36:25 +01:00
voidshine 7284230ebe
Fix MIDI note-on events being converted to note-off events
Update documentation with note about MIDI velocity interpretation

(cherry picked from commit f0f72b3132)
2022-11-30 15:36:03 +01:00
VolTer 3b35454ac3
Stopped edge stripping when using Find in Files
(cherry picked from commit 0179791e85)
2022-11-30 15:34:50 +01:00
Rémi Verschelde 9a340a2868
Project Manager: Fix hacky code for project rename
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.

Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.

Fixes #25661.

(cherry picked from commit f21f75eb6f)
2022-11-30 15:34:27 +01:00
Graham Pentheny 5193e4a7dd
Updated Recast to 4fef044
In some cases Godot can generate input parameters to Recast that cause it to crash.  Specifically when baking NavigationMeshes for input meshes that have axis extents less than half the NavigationMesh CellSize.

This has been fixed upstream in Recast (in 3901c5854c).  Updating Godot's Recast integration fixes this crash issue in Godot as well.

(cherry picked from commit 36de150c74)
2022-11-30 15:34:27 +01:00
bruvzg ab7765997b
[macOS] Update activation hack to work on Ventura.
(cherry picked from commit 153d06d79b)
2022-11-30 15:34:27 +01:00
Abdulrahman Al Zeidi 5ada214c51
Fix static object destructors being called on gpu selection with X11
(cherry picked from commit 5860f81c18)
2022-11-30 15:34:27 +01:00
dzil123 d7f6cc26d2
Fix Image::bump_map_to_normal_map incorrectly keeping mipmap flag
(cherry picked from commit 1fa8b3dd42)
2022-11-30 15:34:27 +01:00
Alfred Reinold Baudisch d3735d8b21
Cast dragged file extension name to lowercase, closes #68104
(cherry picked from commit 07e367cb0b)
2022-11-30 15:34:27 +01:00
kleonc 7f2c318e6e
`SpriteFramesEditor` Fix calculating frame index from mouse position
(cherry picked from commit d135957987)
2022-11-30 15:34:27 +01:00
Mark Riedesel dd76858c2c
Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
(cherry picked from commit 5cb07486db)
2022-11-30 15:34:27 +01:00
Mark Riedesel c15bb8147e
Handle closed splines in Collada importer
(cherry picked from commit 8f7ab02bc6)
2022-11-30 15:34:26 +01:00
Rafał Mikrut e359ba3733
Fix exporting big templates
(cherry picked from commit 86fa3ba560)
2022-11-30 15:34:26 +01:00
jbcolli2 dd807ca5e7
Changed normal of CylinderMesh to account for slanted side.
(cherry picked from commit 491ec622f6)
2022-11-30 15:34:26 +01:00
hare_ware 4150749698
Fix Skeleton3D falsely assuming all physical bones will be children of their first bone
(cherry picked from commit 913f57f695)
2022-11-30 15:34:26 +01:00
Pedro J. Estébanez de6b5f992b
Fix newlines not honored in Windows console
This is relevant when building with `windows_subsystem=console`.

(cherry picked from commit e14c5186e2)
2022-11-30 15:34:26 +01:00
Rémi Verschelde 9d6c3b5151
Debugger: Fix fetching source to link C++ error on GitHub
Fixes #66974.

(cherry picked from commit 4d29346a74)
2022-11-30 15:34:25 +01:00
nikitalita e1a39d66b0
Fix DirAccessWindows::make_dir() choking on ".."
`CreateDirectoryW()` chokes on absolute paths that contain `..`
example: "C:\\workspace\\..\\games\\assets"
Simplifying the path before creating the dir fixes this.

(cherry picked from commit 0d3d5ac769)
2022-11-30 15:06:28 +01:00
kleonc 24eb91cd5b
Fix checking if script is attached to any node belonging to scene
(cherry picked from commit 7f7966e10a)
2022-11-30 15:06:13 +01:00
Fireflash 239b2e4bbc
Update AudioStreamGeneratorPlayback.xml
Fixed incorrect method description for `get_frames_available`.
According to [The AudioStreamGenerator source](https://github.com/godotengine/godot/blob/master/servers/audio/effects/audio_stream_generator.cpp#L132), the `get_frames_available` method should return the space remaining in the sample buffer.

(cherry picked from commit 7823ca1367)
2022-11-30 15:05:26 +01:00
Windy Darian 6997482dbf
Don't try to import unknown dependency from scan
Only import dependency we know how to import, since custom resource may have .gd in dependency list which doesn't have an importer

(cherry picked from commit 0463a445c4)
2022-11-30 14:46:20 +01:00
Rémi Verschelde d5e0e63b46
Merge pull request #69346 from DeeJayLSP/update_nanosvg
Update nanosvg to GIT (2022.11)
2022-11-30 11:32:24 +01:00
Rémi Verschelde 425b42b3f0
Merge pull request #69331 from timothyqiu/toggle-builtin-actions
[3.x] Add built-in action toggle in Input Map settings
2022-11-30 11:31:48 +01:00
Rémi Verschelde d7cb3d9366
Merge pull request #69320 from aaronfranke/3.x-gltf-def-ext-usage
[3.x] GLTF: Move shared defines into a file and only list used extensions
2022-11-30 11:31:34 +01:00
Rémi Verschelde 0693260207
Merge pull request #69304 from raulsntos/dotnet/string-extensions-3.x
[3.x] C#: Deprecate string extensions that will be removed in 4.x
2022-11-30 11:31:25 +01:00
DeeJayLSP d0386660cb Update nanosvg to GIT (2022.11) 2022-11-29 13:40:59 -03:00
Haoyu Qiu b957816736 Add built-in action toggle in Input Map settings 2022-11-29 16:53:35 +08:00
Aaron Franke f1febed469
[3.x] GLTF: Move shared defines into a separate `gltf_defines.h` file 2022-11-29 00:04:57 -06:00
Aaron Franke 8979208713
[3.x] GLTF: Only list used extensions when they're actually used 2022-11-28 17:54:30 -06:00
Raul Santos 7106905a5b
C#: Deprecate string extensions that will be removed in 4.x
- Deprecated `Length` in favor of the `string.Length` property.
- Deprecated `Insert` in favor of the existing instance method with the same signature.
- Deprecated `Erase` in favor of `StringBuilder.Remove`.
- Deprecated `ToLower` and `ToUpper` in favor of the instance methods with the same signature.
- Deprecated `BeginsWith` in favor of `string.StartsWith`.
- Deprecated `EndsWith` in favor of the instance method with the same signature.
- Deprecated `Empty` in favor of `string.IsNullOrEmpty`.
- Deprecated `OrdAt` in favor of the `string[int]` indexer.
- Deprecated `LStrip` and `RStrip` in favor of `string.TrimStart` and `string.TrimEnd`.
2022-11-28 18:23:00 +01:00
Rémi Verschelde 5240609e67
Merge pull request #67681 from m4gr3d/android_editor_polish_3x
[3.x] Android Editor: Add navigation controls to the spatial editor viewport
2022-11-28 16:32:06 +01:00
Rémi Verschelde 6f91639af2
Merge pull request #69246 from nongvantinh/3.x-check-null-for-input_event
3.x Enhance null checking for input event
2022-11-28 13:21:22 +01:00
Rémi Verschelde 5499d54fd5
Merge pull request #69285 from dzil123/v3_fix_null_bake_end_function
[3.x] BakedLightmap add null `bake_end_function` check
2022-11-28 13:21:12 +01:00
Rémi Verschelde 86d5bb7f20
Merge pull request #68858 from bruvzg/win_regen_icon3
[3.x] Windows icon export improvements.
2022-11-28 10:16:26 +01:00
dzil123 85811c2b99 [3.x] BakedLightmap add null bake_end_function check 2022-11-28 00:30:17 -08:00
Nong Van Tinh ffbaa7fff0 Enhance null checking for input event 2022-11-27 15:01:34 +07:00
lawnjelly 29d4d4105e Add readahead to VariantParser
Adds a readahead buffer to VariantParser, to prevent large numbers of freads for single bytes, which is inefficient.
2022-11-24 15:58:23 +00:00
Rémi Verschelde 4769aa4499
Merge pull request #64564 from timothyqiu/word-wrap-3.x
[3.x] Fix `String::word_wrap()` for long words
2022-11-24 16:06:52 +01:00
Rémi Verschelde 693ce99d2d
Merge pull request #68853 from Maran23/3-x-tooltip-fix
Fix Tooltips do not work properly when selecting multiple nodes (MultiNodeEdit)
2022-11-24 15:44:50 +01:00
Rémi Verschelde 429225ce55
Merge pull request #69024 from Gromph/3.x-fix-exporting-android-application_attribs
fix exporting Android APPLICATION_ATTRIBS (3.X)
2022-11-24 15:35:58 +01:00
Dan d789ad4b20 fix exporting Android APPLICATION_ATTRIBS (3.X) 2022-11-22 12:24:17 -08:00
Rémi Verschelde cb0b20be7f
Merge pull request #68990 from timothyqiu/editor-gradient-preview-plugin
[3.x] Add Gradient resource preview generator
2022-11-22 08:45:13 +01:00
Rémi Verschelde f3ed588776
Merge pull request #68988 from timothyqiu/nav-fixes
[3.x] Backport navigation crash fixes
2022-11-22 08:45:07 +01:00
Rémi Verschelde 89936c4bab
Merge pull request #68892 from Calinou/collision-exception-improve-error-message-3.x
Improve collision exception error messages for easier understanding (3.x)
2022-11-22 08:44:56 +01:00
Hendrik Brucker ea46617f12 Add Gradient resource preview generator
Co-Authored-By: Haoyu Qiu <timothyqiu32@gmail.com>
2022-11-22 13:25:54 +08:00
Haoyu Qiu 37ccdb201a Backport navigation crash fixes
Co-Authored-By: Sean <sean@geekotron.net>
2022-11-22 12:46:43 +08:00
bruvzg 44739a121e
[3.x] Windows icon export improvements.
Regenerate Windows icon on export to ensure correct icon size order.
Add support for using PNG/WebP/SVG files as an icon for Windows exports.
Allow using WebP/SVG files as icon for macOS exports.
Add option to select generated icons interpolation, and set default interpolation to Lanczos.
2022-11-20 13:02:27 +02:00
Hugo Locurcio 4c26cac0e6
Improve collision exception error messages for easier understanding 2022-11-19 17:37:42 +01:00