Commit graph

34588 commits

Author SHA1 Message Date
Rémi Verschelde
01574a566f
Merge pull request #69447 from aaronfranke/3.x-gltf-organize-files
[3.x] GLTF: Organize structures and extensions into subfolders
2022-12-01 18:14:04 +01:00
Rémi Verschelde
4d5ef72669
Merge pull request #69434 from timothyqiu/editor-title
[3.x] Update project window title when a project setting was changed
2022-12-01 18:13:58 +01:00
Rémi Verschelde
af635f05bf
Merge pull request #68630 from m4gr3d/fix_input_event_screen_drag_routing_3x
[3.x] Fix routing of `InputEventScreenDrag` events to `Control` nodes
2022-12-01 18:13:52 +01:00
Aaron Franke
d8aa3b32c9
[3.x] GLTF: Organize structures and extensions into subfolders 2022-12-01 08:25:21 -06:00
Rémi Verschelde
b7ef58f221
Merge pull request #69433 from timothyqiu/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 7th batch
2022-12-01 08:51:34 +01:00
Marius Hanl
9ea2ef7c44 Update project window title when a project setting was changed
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-12-01 12:54:10 +08:00
Dawid Marzec
1a123070c8 Remove auto selecting the first file for FileDialog with Save file mode selected
(cherry picked from commit 5cd30be56d)
2022-12-01 12:27:43 +08:00
Riteo Siuga
06920544b8 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 10eaf0c52b)
2022-12-01 12:23:24 +08:00
Haoyu Qiu
fdc21747be Improve editor property capitalization
* Captialize stop words when they are the last word.
* Add stop words logic in `extract.py`.

(cherry picked from commit c0e9d928e6)
2022-12-01 12:12:25 +08:00
Hugo Locurcio
2363d0f9ba Improve editor property capitalization
- Don't capitalize stop words such as "at", "in" or "to".
- Add more acronyms to capitalize.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit aafa816946)
2022-12-01 12:08:40 +08:00
Haoyu Qiu
57c429975c Make Camera3D gizmo clickable
(cherry picked from commit ca9063fe4e)
2022-12-01 11:55:09 +08:00
kobewi
2f13adbdb6 Remove error condition from get_global_transform()
(cherry picked from commit 2ff676a696)
2022-12-01 11:47:52 +08:00
Haoyu Qiu
21856280fa Describe the left mouse button constant as the primary button
(cherry picked from commit f6e9565bdc)
2022-12-01 11:38:54 +08:00
RedMser
37efeaad72 Remove LGTM badge
LGTM.com will be shut down in December 2022

(cherry picked from commit db687b1fcd)
2022-12-01 11:31:07 +08:00
streq
a001932790 clarify [member polygons] functionality in the Polygon2D class documentation
(cherry picked from commit de66acc624)
2022-12-01 10:41:59 +08:00
Pedro J. Estébanez
22ecc0561d Create reset tracks with the right update mode
(cherry picked from commit b46a2aaa4b)
2022-12-01 10:31:28 +08:00
Markus Sauermann
0ae562c9dc 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 8d60e8b5d4)
2022-12-01 10:23:04 +08:00
Lyuma
099e90e00d Make Node editable_instance methods available to GDScript
(cherry picked from commit 7eb6ae2798)
2022-12-01 10:15:06 +08:00
kobewi
1b607b04b4 Advance animation after confirming
(cherry picked from commit 798f9c8632)
2022-12-01 10:12:37 +08:00
Rémi Verschelde
7f0b3bc2a0 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 9bb05de89f)
2022-12-01 09:50:51 +08:00
Fredia Huya-Kouadio
b28bcb4cfc Fix the logic used to route InputEventScreenDrag events to Control nodes. 2022-11-30 14:16:26 -08:00
Rémi Verschelde
87296b3ea5
Merge pull request #69400 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 6th batch
2022-11-30 18:23:54 +01:00
bruvzg
42e01da3c4
[macOS] Fix export button incorrectly disabled when using login/app password for notarization.
(cherry picked from commit aa117a128e)
2022-11-30 15:59:17 +01:00
Markus Sauermann
ccb9ffb6a3
Fix unused exitcode in macos export plugin
Fix that the exitcode is never set.

(cherry picked from commit 567a591f87)
2022-11-30 15:58:29 +01:00
bruvzg
84904da07a
[Export] Use image loader directly to avoid "resource as image file" errors.
(cherry picked from commit 908bef8eee)
2022-11-30 15:56:06 +01:00
Fredia Huya-Kouadio
d08e057194
Fix parsing of the keep_screen_on display setting
(cherry picked from commit 3c75887d41)
2022-11-30 15:52:10 +01:00
HolonProduction
477d24b6d1
Fix wrong android key mapping.
Fixes the wrong mapping of `Key::HOME`. Androids `KEYCODE_HOME` is in fact the hardware home button the right mapping is `KEYCODE_MOVE_HOME`.

Also adds mappings to keys that were not present before.

(cherry picked from commit a3f0dc5a83)
2022-11-30 15:47:30 +01:00
Haoyu Qiu
3b869e8027
Fix crash of queue_free() when main loop is not SceneTree
(cherry picked from commit 3b08d0e852)
2022-11-30 15:44:49 +01:00
Ev1lbl0w
6d030f93b7
Document PopupMenu id behavior
(cherry picked from commit b8aa5ebfeb)
2022-11-30 15:44:05 +01:00
Riteo
d69a9f43ea
Actually set the execinfo flag on non-glibc systems
(cherry picked from commit a3b5353892)
2022-11-30 15:43:02 +01:00
Hugo Locurcio
fc4d35432e
Automatically use execinfo for crash handler on *BSD and musl-based Linux
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e04bffbcf)
2022-11-30 15:43:00 +01:00
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