Commit Graph

34671 Commits

Author SHA1 Message Date
Aaron Franke a887f48d1d
[3.x] Backport moving camera and light logic to GLTF subclasses 2022-12-11 14:05:08 -06:00
Rémi Verschelde f128170a18
Merge pull request #69558 from timothyqiu/canvas-layer-unique-call
[3.x] Fix CanvasLayer visibility toggle can only run once per frame
2022-12-11 15:39:57 +01:00
Rémi Verschelde bd4be9f644
Merge pull request #69775 from Calinou/backbuffercopy-only-show-rect-when-relevant-3.x
Fix BackBufferCopy `rect` property appearing when not relevant in inspector (3.x)
2022-12-11 13:39:14 +01:00
Rémi Verschelde bf295fcc6b
Merge pull request #69879 from aaronfranke/3.x-gltf-doc-p-parameter
[3.x] Consistently use `p_` for parameters in GLTFDocument
2022-12-11 13:39:05 +01:00
Rémi Verschelde 25f02bf920
Merge pull request #69823 from madmiraal/fix-65773
[3.x] Store Bullet total gravity, linear damp and angular damp calculations
2022-12-11 13:38:56 +01:00
Aaron Franke d8b1c9ff3c
[3.x] Consistently use `p_` for parameters in GLTFDocument 2022-12-10 17:02:13 -06:00
Marcel Admiraal 7669f6e660 Store Bullet total gravity, linear damp and angular damp calculations
so they can be retrieved from PhysicsDirectBodyState
2022-12-09 19:53:50 +01:00
Hugo Locurcio 5115db63aa
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 20:04:56 +01:00
Rémi Verschelde 9983df9210
Merge pull request #69526 from m4gr3d/polish_navigation_controls_opacity_3x
[3.x] Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:33:43 +01:00
Rémi Verschelde 0cd3db459d
Merge pull request #65079 from lawnjelly/faster_variant_parser
Add readahead to VariantParser
2022-12-05 00:13:52 +01:00
Rémi Verschelde c42bbc6feb
Merge pull request #69585 from bruvzg/fix_tm_tr
[TextMesh, 3.x] Fix auto-translation and ignore control chars.
2022-12-05 00:13:42 +01:00
Rémi Verschelde 4b7b9b74bc
Merge pull request #69569 from timothyqiu/tree-update-remove-child
[3.x] Fix TreeItem.remove_child not updating Tree immediately
2022-12-05 00:13:37 +01:00
Rémi Verschelde bf7f93d236
Merge pull request #69384 from asalazar516/3.x_delete_nodes_request_param
[3.x] Add missing argument to `AnimationNodeBlendTreeEditor::_delete_nodes_request`
2022-12-05 00:13:31 +01:00
bruvzg efa6b01c97
[TextMesh, 3.x] Fix auto-translation and ignore control chars. 2022-12-04 23:11:28 +02:00
Rémi Verschelde 6a99678bc6
Merge pull request #69568 from timothyqiu/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 8th batch
2022-12-04 15:18:36 +01:00
Haoyu Qiu 7bdbfbf822 Fix TreeItem.remove_child not updating Tree immediately 2022-12-04 21:37:19 +08:00
Silc Renew 1a45268639 Fix animation signal caches_cleared firing timing
(cherry picked from commit 962b6a3e8f)
2022-12-04 20:24:55 +08:00
alex-pahdo cbc8ccbe20 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 f5d256b118)
2022-12-04 20:19:50 +08:00
Ignacio Roldán Etcheverry bf54ed9124 Add JetBrains Fleet folder to gitignore
(cherry picked from commit 166d86ca84)
2022-12-04 20:13:21 +08:00
Hugo Locurcio 9a0a9bbaec Document `Array.sort()` and `sort_custom()` using unstable sorting
(cherry picked from commit 85b617a6a3)
2022-12-04 20:12:27 +08:00
Zak Grumbles aa8c63f8af Add note regarding RefCounted to EditorScript docs
(cherry picked from commit e5dc2ed982)
2022-12-04 20:06:18 +08:00
Rémi Verschelde b18ef4dc83 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 c5c3d13dc0)
2022-12-04 20:03:06 +08:00
lawnjelly 2ef0052113 Fix array-bounds warning in BVH
Provides a workaround to prevent tripping a compiler warning.

(cherry picked from commit 91d252c697)
2022-12-04 20:00:08 +08:00
Ithamar R. Adema da3b8b324d Add 16-bits TGA support
(cherry picked from commit 200f6ac089)
2022-12-04 19:58:42 +08:00
Hakim df1a0b25ea Prevent AnimationPlayer from being added on GLTF import if the option is unchecked. Fixes #63954
(cherry picked from commit 805ffdfbf6)
2022-12-04 19:47:36 +08:00
kobewi 3f8bb6fb53 Improvements to EditorResourcePicker
(cherry picked from commit 9568789a9d)
2022-12-04 19:18:17 +08:00
Ibrahn Sahir 22f93bccb4 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 81575174cb)
2022-12-04 19:04:31 +08:00
Haoyu Qiu a6a89356b7 Fix CanvasLayer visibility toggle can only run once per frame 2022-12-04 14:49:19 +08:00
Fredia Huya-Kouadio f1e6ecd3b5 Minor tweaks/polish to the navigation controls to prevent interference:
- Reduce controls size
- Enable opacity on hover to increase visibility
2022-12-02 23:33:14 -08:00
asalazar516 fd101d9def [3.x] Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request 2022-12-02 11:12:38 -08:00
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