Commit graph

34644 commits

Author SHA1 Message Date
lawnjelly
776c9d0579 VariantParser make readahead optional
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.

This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-12 15:44:39 +00:00
Rémi Verschelde
004c174086
Merge pull request #69929 from aaronfranke/3.x-gltf-subclasses
[3.x] Backport moving camera and light logic to GLTF subclasses, fix ortho cameras
2022-12-12 12:28:07 +01:00
Rémi Verschelde
16ad014dd3
Merge pull request #67040 from Calinou/xdg-paths-linux-only-3.x
Only support XDG directory path configuration on Linux (3.x)
2022-12-12 12:27:56 +01:00
Rémi Verschelde
0efa2cec08
Merge pull request #67767 from Calinou/doc-debanding-3d-only-3.x
Document debanding only affecting 3D rendering by default (3.x)
2022-12-12 12:27:50 +01:00
Hugo Locurcio
06c266f231
Only support XDG directory path configuration on Linux
This also harmonizes the server code to be consistent with Linux desktop
(with warnings printed for relative XDG paths).

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12 11:13:19 +01:00
Hugo Locurcio
4475a93736
Document debanding only affecting 3D rendering by default 2022-12-12 11:01:26 +01:00
Rémi Verschelde
9ef525c3a0
Merge pull request #69946 from godotengine/revert-59234-3.x-rid-comparison-id
Revert "RID: Change comparison operators to use RID_Data id instead of address"
2022-12-12 10:23:50 +01:00
Rémi Verschelde
c404cc0e58
Revert "RID: Change comparison operators to use RID_Data id instead of address" 2022-12-12 09:10:37 +01:00
Rémi Verschelde
495a1e3fb9
Merge pull request #69943 from timothyqiu/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 9th batch
2022-12-12 08:23:24 +01:00
Hugo Locurcio
5e0ef339ff Document print_stack() and get_stack() requiring a debugger connection
(cherry picked from commit 530e31d4a3)
2022-12-12 14:55:23 +08:00
Pedro J. Estébanez
0873cf0656 Keep a single, portable implementation of OS::get_processor_count()
(cherry picked from commit 6bf02c0162)
2022-12-12 14:47:37 +08:00
Emmanouil Papadeas
0754c7ee1a Fix InputEventAction's is_action method ignoring exact_match parameter
(cherry picked from commit 38b51942d6)
2022-12-12 14:44:20 +08:00
nyanpasu64
8f5ccfa21f Fix burning CPU with udev disabled on Flatpak
Fixes #67355.

(cherry picked from commit 0cbd1c85a9)
2022-12-12 14:42:23 +08:00
Phnix
9ac09dfb64 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 fe1f8443a4)
2022-12-12 14:22:54 +08:00
smix8
16bb34d23d 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 f30ebacbe8)
2022-12-12 14:19:46 +08:00
Steve Cotton
8770197731 doc: link GPUParticles2D to the 2D Particles demo
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.

(cherry picked from commit 6db9752f23)
2022-12-12 14:06:49 +08:00
Rémi Verschelde
ae94cc4ecc SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8c)
2022-12-12 14:03:04 +08:00
Ricardo Buring
40357471dc Fix typo bug in heightmap shape
(cherry picked from commit 55eceb5150)
2022-12-12 14:00:37 +08:00
Hugo Locurcio
ac14c31ca6 Fix libtheora source code being mistakenly .gitignored
(cherry picked from commit ffb9f2b53f)
2022-12-12 13:57:58 +08:00
Haoyu Qiu
dd1c96b547 Add note about GROUP_CALL_UNIQUE not considering arguments
(cherry picked from commit 3f2d6f5f6c)
2022-12-12 13:57:28 +08:00
DeeJayLSP
b661ed90f5 Update CA certificates to 2022.10 revision
(cherry picked from commit a81c1e8a58)
2022-12-12 13:55:26 +08:00
bruvzg
5978268f79 [MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
(cherry picked from commit d99c32668a)
2022-12-12 13:54:32 +08:00
ocean (they/them)
e8c2e0e876 Add VS's enc_temp_folder to .gitignore
(cherry picked from commit 8ae66c143b)
2022-12-12 13:53:56 +08:00
Josh Jones
7b20f05db6 Add MSVC problem matcher to CI
(cherry picked from commit ed2c1d1c51)
2022-12-12 13:53:03 +08:00
Raul Santos
72b6c4062a Add GCC problem matcher to CI
(cherry picked from commit d3641c9d0d)
2022-12-12 13:52:38 +08:00
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