Commit Graph

2634 Commits

Author SHA1 Message Date
Hugo Locurcio
f2709ecef3 Fix libtheora source code being mistakenly .gitignored
(cherry picked from commit ffb9f2b53f3f2fe0ad600d131ce4463610e77988)
2022-12-12 12:15:54 +01:00
Ricardo Buring
721ae8f4ad Fix typo bug in heightmap shape
(cherry picked from commit 55eceb5150ee0c6b38f12f4be3fd601506959288)
2022-12-12 12:14:25 +01:00
Rémi Verschelde
75bda24214 SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8ccd2c261ae7757a9b1fed1b6ada1c73)
2022-12-12 12:14:05 +01:00
smix8
4a9c859c6d Add detail to NavigationPolygon outline error msg
Adds additional information to the error msg when the convex partition fails due to invalid outline arrays.

(cherry picked from commit f30ebacbe851bd207e1c55e82d04caf150a59690)
2022-12-12 12:13:36 +01:00
Phnix
6040a9b37c incorrect range value with min value and step
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.

Co-Authored-By: Astral-Sheep <109028693+Astral-Sheep@users.noreply.github.com>
(cherry picked from commit fe1f8443a411c64eb8a2934512ab982f3df3d550)
2022-12-12 12:13:15 +01:00
nyanpasu64
6064befd94 Fix burning CPU with udev disabled on Flatpak
Fixes #67355.

(cherry picked from commit 0cbd1c85a96384ef93978661e408ce7c1b721847)
2022-12-12 12:12:48 +01:00
Emmanouil Papadeas
9524cb6a74 Fix InputEventAction's is_action method ignoring exact_match parameter
(cherry picked from commit 38b51942d6d346d19dd5d4cd1073389caf0152fc)
2022-12-12 12:12:30 +01:00
Hugo Locurcio
e7f328d8d9 Document print_stack() and get_stack() requiring a debugger connection
(cherry picked from commit 530e31d4a38a6129c0b7ac7cbd9928788ed28e4b)
2022-12-12 12:11:56 +01:00
a7fb068ab4 Revert "Backported: RID: Change comparison operators to use RID_Data id instead of address. This should helps making sorting more deterministic in physics and rendering. The same change was done for 4.0 in 4f16397. - akien-mga - 797321fec4"
This reverts commit 185cfb3291.
2022-12-12 11:54:51 +01:00
422629c281 Bind ViewportNavigationControl::_on_mouse_entered. 2022-12-11 20:06:18 +01:00
4cc205301f Ported: [3.x] Consistently use p_ for parameters in GLTFDocument
- aaronfranke
d8b1c9ff3c
2022-12-11 20:00:56 +01:00
60b8bbf1ae Ported: [3.x] GLTF: Organize structures and extensions into subfolders
- aaronfranke
d8aa3b32c9
2022-12-11 19:39:24 +01:00
ea67b36916 Ported: Minor tweaks/polish to the navigation controls to prevent interference:
- Reduce controls size
- Enable opacity on hover to increase visibility
- m4gr3d
f1e6ecd3b5
2022-12-11 19:30:42 +01:00
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