Commit graph

66123 commits

Author SHA1 Message Date
Rémi Verschelde
4ab4613f90
Merge pull request #95331 from Riteo/seat-tight-this-is-weird
Wayland: Avoid recreating input objects on capability change
2024-08-12 14:10:07 +02:00
Alex Mitchell
3c2259f59a
Fix incorrect reference to VisibleOnScreenEnabler2D/3D in *Notifier2D/3D docs 2024-08-12 13:19:49 +02:00
bruvzg
d1047f4c46
[macOS] Fix wrong object type in joypad queue. 2024-08-12 14:09:18 +03:00
A Thousand Ships
7eed651f38
[Editor] Fix missing bind for animation editor callback
`timeline_changed` signal was connected to a method with three arguments
but provides two.
2024-08-11 19:07:39 +02:00
Hilderin
d199f1f0d5 Fix resolve class inheritance after file rename 2024-08-10 19:21:24 -04:00
ajreckof
6577a39bd0 Fix label update for dict on item deletion. 2024-08-10 23:25:46 +02:00
Raul Santos
415331f474
Make Animation::capture_included read-only
The `PROPERTY_USAGE_READ_ONLY` flag only makes the property read-only in the inspector, but the property also has the `PROPERTY_USAGE_NO_EDITOR` flag which means it won't show up in the inspector. So it does nothing, while still making it editable from scripting.

To make it read-only for scripting too, this PR removes the setter from the `PropertyInfo`. And since the `set_capture_included` method is now unused, it was also removed.
2024-08-10 18:53:45 +02:00
calsbrook
3217bc283c Clarify usage of CompositorEffect as an abstract base class in the documentation 2024-08-09 21:28:31 -07:00
Hakim
400800a86c Make sure not to generate the compile_commands.json when not asked 2024-08-09 23:42:38 +02:00
Rémi Verschelde
88f3b5f9d5
Merge pull request #95321 from akien-mga/audio-sample-polyphonic-stop
AudioStreamPolyphonic: Implement stopping with sample playback
2024-08-09 23:25:56 +02:00
Rémi Verschelde
d0fc7f73df
Merge pull request #95323 from bruvzg/ios_dyl
[iOS] Fix dylib GDExtension convertion.
2024-08-09 23:25:12 +02:00
Sai Nane
15f6984675 Fix check in Object._ValidateProperty example
The GDScript version above makes the `number` property read only whenever
`is_number_editable` is false.

```gdscript
func _validate_property(property: Dictionary):
	if property.name == "number" and not is_number_editable:
		property.usage |= PROPERTY_USAGE_READ_ONLY
```

The C# version is similar, but omits the negation, so the Number property is
made read only whenever `is_number_editable` is true.

This adds the negation to the C# example, making it match the GDScript
example.
2024-08-09 19:08:27 +00:00
Sai Nane
635313f8c9 Fix typo in EditorImportPlugin docs
"[param custom_importer] ca be" -> "[param custom_importer] can be"
2024-08-09 17:19:06 +00:00
Sai Nane
58e3500010 Fix documentation of EditorImportPlugin._Import
The following is the currently generated `EditorImportPlugin.cs`:

```csharp
    public virtual Error _Import(string sourceFile, string savePath, Dictionary options, Array<string> platformVariants, Array<string> genFiles)
    {
        return Error.Ok;
    }
```

This fixes the type signature in the documentation's example to match the
actual type signature.
2024-08-09 16:08:35 +00:00
Riteo
0d1826e084 Wayland: Avoid recreating input objects on capability change
Before, multiple capability events would instantiate the same object
over and over as long as its bit was set. This caused issues with
hotplug and device suspension.
2024-08-09 15:42:23 +02:00
Giganzo
eb96b7b850 Fix order of Lock and Group icons in SceneTree 2024-08-09 14:06:55 +02:00
bruvzg
824324e7c4
[iOS] Fix dylib GDExtension convertion. 2024-08-09 12:44:48 +03:00
Rémi Verschelde
2edf9b95b3
AudioStreamPolyphonic: Implement stopping with sample playback
Fixes #94724.
2024-08-09 10:57:50 +02:00
Rémi Verschelde
c73ac74c4a
Merge pull request #95311 from mihe/file-access-use-after-free
Fix use-after-free in `FileAccess::exists`
2024-08-09 10:24:02 +02:00
Rémi Verschelde
d7c8a9f179
Merge pull request #95307 from mihe/editor-help-use-after-free
Fix use-after-free in `EditorHelp`
2024-08-09 10:23:55 +02:00
Rémi Verschelde
088065c6cc
Merge pull request #95295 from bruvzg/macos_kill
[macOS] Remove kill override.
2024-08-09 10:23:45 +02:00
Mikael Hermansson
613600fa89 Fix use-after-free in FileAccess::exists 2024-08-09 03:33:51 +02:00
Mikael Hermansson
6435112e97 Fix use-after-free in EditorHelp 2024-08-09 02:42:58 +02:00
bruvzg
9949d5a089
[macOS] Remove kill override. 2024-08-08 21:39:00 +03:00
Rémi Verschelde
739019e4e4
Merge pull request #95277 from akien-mga/ci-emscripten-3.1.64
CI: Update Emscripten to 3.1.64
2024-08-08 15:05:03 +02:00
Rémi Verschelde
d32a10897d
CI: Update Emscripten to 3.1.64
This is the version we're using for 4.3-stable.
2024-08-08 11:17:35 +02:00
Rémi Verschelde
03afb92efa
Merge pull request #95194 from Faless/mp/fix_relay_negative_target
[MP] Fix relay protocol routing with negative targets
2024-08-08 10:16:31 +02:00
Rémi Verschelde
32eb97fd2a
Merge pull request #95074 from RandomShaper/d3d12_exit_crash
D3D12: Avoid crash on exit
2024-08-08 10:16:24 +02:00
Rémi Verschelde
9221294653
Merge pull request #95264 from Hilderin/fix-reimport-file-multiple-scenes
Fix reimport file multiple scenes
2024-08-08 07:54:59 +02:00
Hilderin
b1c111d033 Fix reimport file multiple scenes 2024-08-07 20:22:46 -04:00
Rémi Verschelde
4bef4d9808
Merge pull request #95225 from Hilderin/fix-performance-reimport-file
Fix performance issue reimport file reload scene
2024-08-07 23:47:06 +02:00
Rémi Verschelde
da9f943330
Merge pull request #95134 from Calinou/audio-interactive-transition-editor-expand-columns
Expand columns in the audio interactive transition editor
2024-08-07 23:47:00 +02:00
Rémi Verschelde
d775887c83
Merge pull request #95061 from Geometror/vs-style-improvements1
[VisualShader] Reduce size changes of nodes when connecting/disconnecting
2024-08-07 23:46:50 +02:00
Rémi Verschelde
33fe10c065
Merge pull request #95245 from KoBeWi/regression_flood
Initialize project name when importing project
2024-08-07 13:49:06 +02:00
kobewi
9a8ba93963 Initialize project name when importing project 2024-08-07 13:22:55 +02:00
Rémi Verschelde
1e8bfdcd4f
Merge pull request #95239 from AThousandShips/skeleton_internal_fix
Make `Skeleton3D` bone simulator an internal child
2024-08-07 12:08:12 +02:00
Rémi Verschelde
7cf8e5ef2b
Merge pull request #95235 from bruvzg/macos_opengl_load
[macOS] Load OpenGL.framework by path to avoid issues with non-Latin executable names.
2024-08-07 12:08:07 +02:00
Rémi Verschelde
17f3d351af
Merge pull request #95233 from Faless/ws/fix_set_no_delay_win
[WS] Fix `set_no_delay` on Windows
2024-08-07 12:08:02 +02:00
Rémi Verschelde
5e7592a342
Merge pull request #95232 from bruvzg/popup_time_up
[PopupMenu] Increase mouse button release timeout and reset it from `post_popup`.
2024-08-07 12:07:57 +02:00
Rémi Verschelde
031b71f5bc
Merge pull request #95103 from jamie-pate/fix_89119
Fix LightmapGI causes crash when using --headless
2024-08-07 12:07:53 +02:00
Rémi Verschelde
1260bfb39d
Merge pull request #95069 from Calinou/tilemap-point-to-tilemaplayer-conversion
Document converting a TileMap node to TileMapLayer using the editor
2024-08-07 12:07:42 +02:00
A Thousand Ships
602a348ab1
Make Skeleton3D bone simulator an internal child 2024-08-07 11:38:16 +02:00
Jamie Pate
f8c99efc3b
Fix LightmapGI causes crash when using --headless
Fixes #89119

Add dummy LightmapInstance and Lightmap resources for headless rendering

Prevents the RenderingServer from crashing when it accesses
lightmap_instance->base_data
2024-08-07 11:38:05 +02:00
Hugo Locurcio
5bc4b49f0b
Document converting a TileMap node to TileMapLayer using the editor 2024-08-07 11:15:29 +02:00
bruvzg
2bd21b588e
[macOS] Load OpenGL.framework by path to avoid issues with non-Latin executable names. 2024-08-07 11:57:27 +03:00
Fabio Alessandrelli
7f610a2c6e [WS] Fix set_no_delay on Windows
Windows socket implementation is, as usual, broken in many ways.

This includes `setsockopt` failing to set `TCP_NODELAY` if the socket is
still in a connecting state.

This also means we need to keep polling the IP resolver until the socket
reaches the CONNECTED state (so it can set the TCP_NODELAY after the
connection is successful).
2024-08-07 09:47:00 +02:00
bruvzg
460b538746
[PopupMenu] Increase mouse button release timeout and reset it from post_popup. 2024-08-07 10:22:12 +03:00
Hilderin
7934e73d78 Fix performance issue reimport file reload scene 2024-08-06 22:29:04 -04:00
Rémi Verschelde
eabeafd8c3
Merge pull request #95086 from m4gr3d/fix_import_button_not_showing_directories
[Android editor] Fix issue with importing projects
2024-08-06 23:59:20 +02:00
Rémi Verschelde
3158bbdb6d
Merge pull request #95084 from Hilderin/fix-crash-reimport-scene-with-animations
Fix crash on reimport scene with animations
2024-08-06 23:15:52 +02:00