Commit Graph

66151 Commits

Author SHA1 Message Date
Silc Lizard (Tokage) Renew db3a831141 Add Animation tutorial links to class reference by 4.3 2024-08-13 01:57:28 +09:00
bruvzg 7f6c14522c
Stop popup release timeout on click. 2024-08-12 19:35:20 +03:00
Rémi Verschelde 39fc116c5f
Merge pull request #94968 from jsjtxietian/obj-import
Fix obj's name set in wrong order when importing
2024-08-12 18:24:27 +02:00
Rémi Verschelde edc0571c96
Merge pull request #95425 from bruvzg/macos_joypad_queue
[macOS] Fix wrong object type in joypad queue.
2024-08-12 18:18:19 +02:00
Rémi Verschelde 47d0bdd558
Merge pull request #95405 from TokageItLab/fix-double-seeking
Prevent to seek doubly on AnimationPlayerEditor
2024-08-12 18:18:15 +02:00
Rémi Verschelde f19e268c7a
Merge pull request #95330 from Hilderin/fix-resolve-class-inheritance-after-file-rename
Fix resolve class inheritance after file rename
2024-08-12 18:18:10 +02:00
Rémi Verschelde 0444fb67e6
Merge pull request #95329 from Giganzo/lock-eye-icon-order-in-scene-tree
Fix order of Lock and Group icons in SceneTree
2024-08-12 18:18:03 +02:00
Silc Lizard (Tokage) Renew 81399ae9ba Prevent to seek doubly on AnimationPlayerEditor 2024-08-13 00:49:53 +09:00
Rémi Verschelde 86c95d26fc
Merge pull request #95409 from AlexAlappsis/master
Incorrect reference to VisibleOnScreenEnabler3D/2D in VisibleOnScreenNotifier3D/2D documentation.
2024-08-12 14:10:41 +02:00
Rémi Verschelde ece2e6d23b
Merge pull request #95377 from raulsntos/gdextension/expose-property-accessors/Animation
Make `Animation::capture_included` read-only
2024-08-12 14:10:37 +02:00
Rémi Verschelde f16c3d13b4
Merge pull request #95341 from esainane/valid-example
Fix check in `Object._ValidateProperty` example
2024-08-12 14:10:32 +02:00
Rémi Verschelde 5ae8250142
Merge pull request #95338 from hakro/no_is_no
Make sure not to generate the compile_commands.json when not asked
2024-08-12 14:10:27 +02:00
Rémi Verschelde 10ae73cc69
Merge pull request #95336 from esainane/typo-eh
Fix typo in EditorImportPlugin docs
2024-08-12 14:10:21 +02:00
Rémi Verschelde 1d7b318d24
Merge pull request #95335 from esainane/error-to-sender
Fix documentation of `EditorImportPlugin._Import`
2024-08-12 14:10:16 +02:00
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
BlueCube3310 80cf6cbfe9 Optimize .hdr loading and RGB9E5 conversion 2024-08-09 22:39:30 +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
Joel Croteau f44d6a235f Fix reload of GDExtension libraries in framework package on macos
`GDExtension::open_library` has a check in it to see if the library was loaded
from a temp file, and if it was to restore the original name as that is the one
we actually care about. This check is breaking extension reloading on Mac when
the library path is to a framework folder, as the file inside the framework
will not generally be the same name as the folder.

This check also shouldn't be necessary even on Windows, which is the only
platform that uses `generate_temp_files`, since disposal of the created temp
file is handled within `OS_Windows::open_dynamic_library`, and
`GDExtension::open_library` (which is the only function to call
`open_dynamic_library` with a `p_data` argument) only cares about the original
library file path and has to do extra work to remove the name of the temp file.
Instead, I have removed that check and set `OS_Windows::open_dynamic_library`
to return the name of the original file and not the name of the copy.

This fixes GDExtension reloading on macOS. I do not have a Windows machine
available to test that it still works properly on Windows, so someone should
check that before merging this.
2024-08-08 08:31:49 -06:00
Sen 52cd5acdda Fix for multimesh motion vector corruption by resetting motion vector state and filling both halves of buffer 2024-08-08 16:19:31 +02: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