Commit Graph

2321 Commits

Author SHA1 Message Date
827638bfe0 Revert "Take FXAA samples from half-pixel coordinates to improve quality"
This reverts commit 8f0e3af2a2.
2022-12-11 19:28:05 +01:00
Hugo Locurcio
7d1abdb3db Fix BackBufferCopy rect property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-11 19:18:17 +01:00
lawnjelly
3d1640eb70 Add readahead to VariantParser
Adds a readahead buffer to VariantParser, to prevent large numbers of freads for single bytes, which is inefficient.
2022-12-11 19:17:15 +01:00
Hakim
607964e973 Prevent AnimationPlayer from being added on GLTF import if the option is unchecked. Fixes #63954
(cherry picked from commit 805ffdfbf6841ac19c6fdbf3425a6ff15115bed7)
2022-12-11 19:16:03 +01:00
kobewi
fe154362b1 Improvements to EditorResourcePicker
(cherry picked from commit 9568789a9d7845a7224cadea996d009463e87125)
2022-12-11 19:15:30 +01:00
lawnjelly
60b6e83948 Fix array-bounds warning in BVH
Provides a workaround to prevent tripping a compiler warning.

(cherry picked from commit 91d252c69795cdfc53e71c553edcff665636ea16)
2022-12-11 19:15:04 +01:00
bruvzg
0c95c634bb Fix auto-translation and ignore control chars. 2022-12-11 19:14:14 +01:00
Haoyu Qiu
0a11c9e1bf Fix TreeItem.remove_child not updating Tree immediately 2022-12-11 19:13:20 +01:00
Silc Renew
c8a090fa42 Fix animation signal caches_cleared firing timing
(cherry picked from commit 962b6a3e8f9d91f92f2547e2da6ba8dbd5a661dc)
2022-12-11 19:12:37 +01:00
Rémi Verschelde
8be8577da6 SCons: Remove redundant -fomit-frame-pointer and -ftree-vectorize
- `-fomit-frame-pointer` is included automatically by both GCC and
  Clang in `-O1` and above.
- `-ftree-vectorize` is included automatically by GCC in `-O2` and
  beyond, and seems always enabled by Clang.

Closes #66296. See that issue for a detailed investigation.

(cherry picked from commit c5c3d13dc0dbbf95a2350f57d69e7cdc546d395d)
2022-12-11 19:12:18 +01:00
alex-pahdo
6ebc813e48 Add more info to WAV import errors
Print mismatched header contents and file size, which can provide more clues to users when debugging.

(cherry picked from commit f5d256b118914817e2c7ac5c35421e2767fc1e79)
2022-12-11 19:11:36 +01:00
Ignacio Roldán Etcheverry
c88d8dd201 Add JetBrains Fleet folder to gitignore
(cherry picked from commit 166d86ca84460650b79da6672eb46f278c6214f8)
2022-12-11 19:11:10 +01:00
Ithamar R. Adema
1e1858ae15 Add 16-bits TGA support
(cherry picked from commit 200f6ac0894982b31c59acc11cd5f8d4f8971219)
2022-12-11 19:10:03 +01:00
Ibrahn Sahir
1aa0c81dc1 Fix MIDI input with ALSA.
Reworked the handling of ALSA RawMidi input to support:
- Running Status.
- RealTime Category messages arriving during other messages data.
- Multiple connected RawMidi interfaces.

(cherry picked from commit 81575174cbd99b4d1cedbe763d1df7cbc7e641c6)
2022-12-11 19:09:17 +01:00
Haoyu Qiu
5e3a86aea6 Fix CanvasLayer visibility toggle can only run once per frame 2022-12-11 19:08:52 +01:00
asalazar516
8c306efe22 Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request 2022-12-11 19:06:49 +01:00
Marius Hanl
a32008c1ea Update project window title when a project setting was changed
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-12-11 19:05:02 +01:00
Dawid Marzec
03ae12b069 Remove auto selecting the first file for FileDialog with Save file mode selected
(cherry picked from commit 5cd30be56d1d34d84bd423fb99f8fa03edbfe75e)
2022-12-11 19:04:39 +01:00
Riteo Siuga
699d2caa1d Add an exception for thirdparty subdirectories in file_format.sh
This exception is also present in clang_format.sh and is needed in some
cases.

(cherry picked from commit 10eaf0c52bcec565df46a90ceeebe59d52c8cbff)
2022-12-11 19:03:47 +01:00
Haoyu Qiu
6484327489 Make Camera3D gizmo clickable
(cherry picked from commit ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8)
2022-12-11 19:02:40 +01:00
kobewi
43cb6e940a Remove error condition from get_global_transform()
(cherry picked from commit 2ff676a696a9cc1d77c0a8f4d5f31de8c7b5bc1a)
2022-12-11 19:02:12 +01:00
streq
17989ca8ef clarify [member polygons] functionality in the Polygon2D class documentation
(cherry picked from commit de66acc6243827d4b5543656ec588d841d8b7504)
2022-12-11 18:39:24 +01:00
Pedro J. Estébanez
1e7c186b9a Create reset tracks with the right update mode
(cherry picked from commit b46a2aaa4bb4ed89be2e8fb8cdde9258f72172c8)
2022-12-11 18:39:03 +01:00
Markus Sauermann
fc7038b073 Update root order on layer change
When the layer of a CanvasLayer changes, the order of roots needs to be recalculated.

(cherry picked from commit 8d60e8b5d4120d9f9a4868bfb8f0059e733d6d5f)
2022-12-11 18:35:56 +01:00
Lyuma
6eb0adced6 Make Node editable_instance methods available to GDScript
(cherry picked from commit 7eb6ae279848e8300431cfe925be70fa7ffd7299)
2022-12-11 18:34:17 +01:00
kobewi
c9ae510fe5 Advance animation after confirming
(cherry picked from commit 798f9c8632c62c52d6053c42250e6c02be1e1427)
2022-12-11 18:33:45 +01:00
Rémi Verschelde
f3801032b8 Add editor setting for AcceptDialog OK/Cancel buttons positioning
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.

Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.

Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).

Fixes #59379.

(cherry picked from commit 9bb05de89fcc286a0d78bea12dc779a56c274fb0)
2022-12-11 18:33:23 +01:00
Fredia Huya-Kouadio
4759ad6517 Fix the logic used to route InputEventScreenDrag events to Control nodes. 2022-12-11 18:30:58 +01:00
f605155fa5 Removed the unused libsimplewebm. 2022-12-08 12:02:25 +01:00
47e2a193c4 Fix typo. 2022-11-30 19:36:35 +01:00
8eb69b8052 Fix android build. 2022-11-30 19:33:24 +01:00
cdb8f725ea Updated the last merge commit in the changelog file. 2022-11-30 19:30:32 +01:00
Windy Darian
159649099d 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 0463a445c4470509d581747bd272b0a76227c723)
2022-11-30 19:28:28 +01:00
Fireflash
6656d1a33d 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 7823ca13676648ae1f35b33ea18c9d699395f283)
2022-11-30 19:27:56 +01:00
kleonc
16b4bc25e9 Fix checking if script is attached to any node belonging to scene
(cherry picked from commit 7f7966e10aa6b193012a36751dfc9f8c570b8659)
2022-11-30 19:27:33 +01:00
nikitalita
90a8cad6ed 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 0d3d5ac76983de35b8c1dddd65a4c2f8be74d555)
2022-11-30 19:27:06 +01:00
Rémi Verschelde
7cfc7d4106 Debugger: Fix fetching source to link C++ error on GitHub
Fixes #66974.

(cherry picked from commit 4d29346a7413db874b03525112211a1368036d4d)
2022-11-30 19:26:32 +01:00
Pedro J. Estébanez
53a2098620 Fix newlines not honored in Windows console
This is relevant when building with `windows_subsystem=console`.

(cherry picked from commit e14c5186e25020a3759f7e444eba00fb3aa82bb3)
2022-11-30 19:25:59 +01:00
jbcolli2
6812b69c1e Changed normal of CylinderMesh to account for slanted side.
(cherry picked from commit 491ec622f641c28c919c9f8d1b0fbaad014e4714)
2022-11-30 19:23:53 +01:00
Rafał Mikrut
5d6b2de1f3 Fix exporting big templates
(cherry picked from commit 86fa3ba56015b0fb6f282277b37c211fe803c6f9)
2022-11-30 19:23:35 +01:00
Mark Riedesel
309d6ea5bc Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
(cherry picked from commit 5cb07486db6fc53cc5a13e3451dd451e987f39d7)
2022-11-30 19:22:42 +01:00
kleonc
781b1915d3 SpriteFramesEditor Fix calculating frame index from mouse position
(cherry picked from commit d1359579874b747ab34bdbdb23411b5dc733a609)
2022-11-30 19:22:23 +01:00
Alfred Reinold Baudisch
1d8716a903 Cast dragged file extension name to lowercase, closes #68104
(cherry picked from commit 07e367cb0b07f02fef92420fde53e05be3d4b247)
2022-11-30 19:21:43 +01:00
dzil123
15f2a58915 Fix Image::bump_map_to_normal_map incorrectly keeping mipmap flag
(cherry picked from commit 1fa8b3dd420301dd5c2ad99b6bead6cffe1d4995)
2022-11-30 19:21:11 +01:00
Abdulrahman Al Zeidi
238cd5d5bf Fix static object destructors being called on gpu selection with X11
(cherry picked from commit 5860f81c18a2de8b3f38d5a58946939b5cc81425)
2022-11-30 19:20:36 +01:00
bruvzg
1c5271b0e3 Update activation hack to work on Ventura.
(cherry picked from commit 153d06d79b3a1411a632e7df778369bc170d16e0)
2022-11-30 19:20:09 +01:00
Graham Pentheny
708d7d8700 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 36de150c74e8c86e204ce64dc5a2865b6aee79a7)
2022-11-30 19:19:40 +01:00
3265fb9e1d Ported: 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.
- akien-mga
9a340a2868
2022-11-30 19:19:02 +01:00
VolTer
cbfa40ae94 Stopped edge stripping when using Find in Files
(cherry picked from commit 0179791e85944cabd64534abaaf89cc067618f0f)
2022-11-30 19:11:46 +01:00
voidshine
840c537d89 Fix MIDI note-on events being converted to note-off events
Update documentation with note about MIDI velocity interpretation

(cherry picked from commit f0f72b313236b3cd8793e6fe7487094d9a04694a)
2022-11-30 19:11:21 +01:00