Commit Graph

56102 Commits

Author SHA1 Message Date
kobewi 0a7af396c4 Fix missing arrows in integer vector properties
(cherry picked from commit aff49d3a76)
2024-01-23 19:09:45 +01:00
jitspoe ceb0602c16 Fix bug where maximized->fullscreen->windowed mode stays maximized.
(cherry picked from commit 7918e2b6d9)
2024-01-23 19:09:45 +01:00
scgm0 561b843831 Fix Andorid disabling splash screen Show Image
(cherry picked from commit 7771936df5)
2024-01-23 17:49:55 +01:00
jsjtxietian a966068f09 Fix _get_debug_tooltip will crash if tooltip string is too large
(cherry picked from commit 155d738163)
2024-01-23 17:45:44 +01:00
A Thousand Ships 9c68648d72 Ensure binds are duplicated with `Node` signals
(cherry picked from commit 9cf13cedfd)
2024-01-23 17:42:36 +01:00
jsjtxietian e63a7215bb Update `add_submenu` doc to mention that submenu should already exist
(cherry picked from commit 34c27021e0)
2024-01-23 17:42:36 +01:00
bitsawer 28a44d7bbc Fix several Material texture parameter updates
(cherry picked from commit 1ec97a7b91)
2024-01-23 17:42:22 +01:00
jsjtxietian 98002e03d7 Fix int to uint implicit cast error when use uniform mat in gles3
(cherry picked from commit 967e0e6485)
2024-01-23 17:38:48 +01:00
Hugo Locurcio 95ca8e0365 Add an example for `Dictionary.merge()`, mention lack of recursion
(cherry picked from commit 0396e12a47)
2024-01-23 17:38:48 +01:00
Pedro J. Estébanez 1aeff1a7a5 [GLES3] Avoid freeing proxy textures clearing onwer's data
(cherry picked from commit a67559931b)
2024-01-23 17:38:48 +01:00
kobewi 1bd63576b8 Remove margins from editor scrollbars
(cherry picked from commit a3172ae8c5)
2024-01-23 17:38:29 +01:00
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
HolySkyMin d4a406f4a5 Fix editor layout breaks on startup when default custom theme is applied
Moved EditorNode's all get_minimum_size()s outside constructor
2023-11-11 19:48:18 +09: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