Commit Graph

55890 Commits

Author SHA1 Message Date
A Thousand Ships 36c7a47b11 Prevent `encode_variant` doing `memcpy` from `nullptr`
(cherry picked from commit 210461f2ed)
2024-01-23 17:36:49 +01:00
Hugo Locurcio 3d4f1ce21f Improve headings for the export mode in the Export dialog
"Export as dedicated server" now uses a less confusing heading.

(cherry picked from commit 73c1b212f7)
2024-01-23 17:36:49 +01:00
Raul Santos 6d1401cb8d Enable new addon after hiding ProjectSettings
- Enabling newly created addons can show a warning dialog, doing so before hiding the `ProjectSettingsEditor` dialog causes rendering glitches.
- Remove unused `PuginConfigDialog` in `EditorNode`. The one actually being used is an instance in `EditorPluginSettings`.

(cherry picked from commit 7b34fa8dd2)
2024-01-23 17:36:31 +01:00
jsjtxietian cf61f5e938 Hide CSGShape's debug_collision_shape when it is invisible
(cherry picked from commit 173e2c7f29)
2024-01-23 17:33:01 +01:00
stoofin 73b0984764 Fixed PlaneMesh tangents for 'Face X' orientation
(cherry picked from commit 6099d9f3d1)
2024-01-23 17:33:01 +01:00
Ege Yıldır 06d8262b57 doc: Fix typo in ConcavePolygonShape2D/3D description
(cherry picked from commit 0573122605)
2024-01-23 17:32:49 +01:00
A Thousand Ships f563f8bfa6 Fix invalid return from some more `_get/_set`
Invalidly returned `true` on the non-matched path

(cherry picked from commit 3ef6314980)
2024-01-23 16:54:03 +01:00
Hugo Locurcio e33eb36231 Use colored output on CI for Doctest
GitHub Actions output is not considered a TTY, so colored output
must be forced.

(cherry picked from commit dec26e15b3)
2024-01-23 16:54:03 +01:00
thfrwn 204f3bd58d TTS_Linux: Fix size_t template issue on OpenBSD by using int consistently
(cherry picked from commit a0253e593c)
2024-01-23 16:54:02 +01:00
A Thousand Ships f247ffef54 Clarify `NOTIFICATION_SCROLL_BEGIN/END` behavior
Documents that these notifications are only sent for touch events.

(cherry picked from commit 44f62a4f97)
2024-01-23 16:54:02 +01:00
Thaddeus Crews ce9eee097e Header format commits to .git-blame-ignore-revs
(cherry picked from commit 704f085097)
2024-01-23 16:54:02 +01:00
A Thousand Ships f311b0557c Fix invalid return from some `_get/_set`
Invalidly returned `true` on the non-matched path

(cherry picked from commit b04cf8486d)
2024-01-23 16:54:02 +01:00
Hugo Locurcio 0ca1957445 Clamp ReflectionProbe Max Distance to 262,144 to fix rendering issues
(cherry picked from commit ce421da908)
2024-01-23 16:54:02 +01:00
bitsawer d38b61d523 Fix VoxelGI MultiMesh and CSG mesh baking
(cherry picked from commit cbb39f4b6e)
2024-01-23 16:54:02 +01:00
A Thousand Ships a33cf3b6bf Ensure input event is valid in `PopupMenu::activate_item_by_event`
(cherry picked from commit f721b34b4e)
2024-01-23 16:54:02 +01:00
Haoyu Qiu a4912b8a63 Translate TextEdit placeholder
(cherry picked from commit d53529f488)
2024-01-23 16:54:02 +01:00
RealMadvicius 8ed4af259a Fix crash when clicking on "Interpolation Mode" with nonexistent node path
issue reference [https://github.com/godotengine/godot/issues/81769]

- adding a nullptr check on a Node pointer obtained from get_node(NodePath) in case it is null now we wont execute the next instruction

> ClassDB::get_property_info(nd->get_class(), prop, &prop_info);

Which then prevents the crash

(cherry picked from commit e7a35d1521)
2024-01-23 16:53:22 +01:00
A Thousand Ships 5470eb5894 Fix description of `Animation::copy_track`
The documentation stated the track was added to this, instead of
`to_animation`

(cherry picked from commit 9d23956b28)
2024-01-23 16:44:36 +01:00
John Watson 76d5a0e723 Android: Fix joypad trigger value range
`Input::joy_axis` converts trigger values to be between 0.0f to 1.0f by default. This is not needed for Android, as values are already within that range, as per Android documentation: https://developer.android.com/reference/android/view/MotionEvent#AXIS_RTRIGGER

This patch prevents this conversion on Android, which caused L2 and R2 triggers to get stuck pressed. https://github.com/godotengine/godot/issues/79263

(cherry picked from commit d413a02079)
2024-01-23 16:03:16 +01:00
Alfonso J. Ramos a285553472 Do not replace starting digit with underscore when making identifier
(cherry picked from commit 5cd7ca0ccc)
2024-01-23 16:03:16 +01:00
Brian MacIntosh 04bd9cc06c "Whole Words" search can detect word boundaries inside the search term.
For example, searching for ".func" will now match in "a.func" even with Whole Words enabled.

(cherry picked from commit 676627e1d1)
2024-01-23 16:03:16 +01:00
crazyStewie 222cba2aab Implemented {project} placeholder for external dotnet editor
Implements the {project} placeholder, available when setting an external editor
in the project settings, via Editor > Editor Settings > Text Editor > External
for the c# external editor, under Editor > Editor Settings > Dotnet > Editor,

This allows passing the project folder as a command line argument when using a
custom external editor that isn't one of the available options.

Fixes #81845

(cherry picked from commit c01a47867b)
2024-01-23 16:03:16 +01:00
bruvzg 8face42022 [SystemFont] Check name when selecting the best matching face from a collection.
(cherry picked from commit a5a0e48dbc)
2024-01-23 16:03:15 +01:00
Silc Lizard (Tokage) Renew 37e6267c6b Improve retarget auto-mapping algorithm
(cherry picked from commit c1c4a09527)
2024-01-23 16:03:15 +01:00
A Thousand Ships 222ceb7a82 Fix allocation size overflow check in `CowData`
(cherry picked from commit c48b189e14)
2024-01-23 16:03:15 +01:00
Ben Rog-Wilhelm a71153d9bd Fix: incorrectly .gitignored files.
(cherry picked from commit 90f3992036)
2024-01-23 16:03:15 +01:00
Rémi Verschelde 44098e56c9 Remove too greedy GCOV ignores from `.gitignore`
This would cause `updown.png` to be ignored in our default theme in 3.x.

These ignores were added in #36800 for #36572 (see that PR for usage
instructions).

From a quick test, using `--output-file` for `lcov` and `--output-directory`
for genhtml let us output the files in a way that won't conflict with the
Git repository (e.g. in `bin/`, or outside the Git repo).

(cherry picked from commit 5c38e42161)
2024-01-23 16:03:15 +01:00
Rindbee 52d56d806d Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
When the name suffix grows, the old name is used if it is obtained first.

Fix the case where the following error message would appear when renaming
an animation.

```
ERROR: Animation '' doesn't exist.
   at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```

(cherry picked from commit e9cd29cf22)
2024-01-23 15:56:09 +01:00
MrBBBaiXue 965ea011a0 Delete .lgtm.yml
LGTM has been acquired by Github, and all its features is replaced by Github Code Scanning.
So seems .lgtm.yml is no longer used.

(cherry picked from commit ee6cec1649)
2024-01-23 12:43:11 +01:00
bruvzg ba41f42c82
[macOS] Fix MoltenVK SDK detection after file location changes in 1.3.275.0.
(cherry picked from commit a2c1c01941)
2024-01-18 10:47:42 +01:00
Mikael Klasson 39271362c3
Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317)
2024-01-16 17:17:29 +01:00
Rémi Verschelde 2d3b2abcf6
Merge pull request #84328 from akien-mga/4.1-re-disable-exceptions
[4.1] SCons: Re-disable exceptions for Android, iOS, and Web
2023-11-02 09:09:23 +01:00
Rémi Verschelde 1e1d91df6a
SCons: Re-disable exceptions for Android, iOS, and Web
We made a mistake when cherry-picking #80612 with 269b115d9c,
where the global flag was defaulted to false to preserve the 4.1-stable behavior for desktop
platforms, but we forgot that the refactoring removed the force disabling of exceptions for
Android, iOS, and Web.

This reintroduces this behavior so it should be back to the same as in 4.1/4.1.1, and the
export templates should get back to their original size.

Only difference, the old code used to keep exceptions for the Web editor, but I see no reason
for it, so I disable them like with the templates.
2023-11-01 22:16:17 +01:00
Yuri Sizov 65f5865d11 Bump version to 4.1.4-rc
This also fixes a reference issue in the changelog for 4.1.3.
2023-11-01 20:59:38 +01:00
Yuri Sizov fc79201851 Bump version to 4.1.3-stable 2023-11-01 16:34:59 +01:00
Yuri Sizov b79961e3c0 Update changelog for 4.1.3 2023-11-01 16:33:17 +01:00
Fredia Huya-Kouadio 74a1d8addd Update the `launchMode` for the `GodotApp` activity to allow other activities to be part of the same task
For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode

(cherry picked from commit 14428c8d5b)
2023-11-01 16:20:27 +01:00
Yuri Sizov c5e3fcbeb6 Update changelog for 4.1.3 2023-11-01 15:47:09 +01:00
风青山 7c3ac4d170 Fix `SubViewport` with `UPDATE_WHEN_VISIBLE` not working properly in exported project
The issue is primarily due to `RSG::texture_storage->render_target_was_used()`
returning inconsistent results in the editor and exported projects.

(cherry picked from commit 59d0fdbacc)
2023-11-01 15:30:00 +01:00
Yuri Sizov f80c673cdf Add changelog for 4.1.3 2023-10-26 16:30:30 +02:00
Rémi Verschelde 56feab3258
Bump version to 4.1.3-rc
Should have been done before merging #83901, oops.
2023-10-25 14:29:42 +02:00
Yuri Sizov 4a4356dafc
Merge pull request #83901 from YuriSizov/4.1-cherrypicks
Cherry-picks for the 4.1 branch (future 4.1.3) - 1st batch
2023-10-25 14:17:57 +02:00
David Snopek 9a322737cc GDExtension: Fix `variant_iter_get()` actually calling `iter_next()`
(cherry picked from commit b14f359c94)
2023-10-25 12:23:48 +02:00
warriormaster12 9e315e7c79 Make SkeletonIk3D node usable
(cherry picked from commit ddf93f3f59)
2023-10-25 12:23:48 +02:00
ajreckof 5abac84a9e Fix paste value emptying an array on some right click location
(cherry picked from commit f2758d8591)
2023-10-24 20:15:34 +02:00
Alexander Hartmann 3d8c77dc92 Fix Android logic for deferred window input events being inverted
Notably fixes issues with `is_action_just_*` queries in `_physics_process`
for TouchScreenButton.

Fixes #66318.
Fixes #82396.

(cherry picked from commit 5137497c18)
2023-10-24 20:15:20 +02:00
Saif Kandil d73b76da02 Fix Object class C# syntax error
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
(cherry picked from commit 74efbde7df)
2023-10-24 20:10:49 +02:00
CopyTIME f2dd4086b7 Change return type of "_Set" method in csharp code example
Add "return false" to GDScript code example of _Set method

(cherry picked from commit 458cb99966)
2023-10-24 20:10:49 +02:00
kobewi 7f2ebc2389 Fix _set example
(cherry picked from commit 90160eff80)
2023-10-24 20:10:49 +02:00
Rémi Verschelde 93becd4d2e SCons: Use CXXFLAGS to disable exceptions, it's only for C++
Following discussion in https://github.com/godotengine/godot-cpp/pull/1216.

(cherry picked from commit 3bfcbe7946)
2023-10-24 20:02:24 +02:00