Lisandro Lorea
9dd372f316
Fix gamepad triggers not working on web exports
...
Fixes #81758
DisplayServerWeb::process_joypads handles buttons 6 and 7 of the
HTML5 Standard Gamepad as a special case by doing:
`input->joy_axis(idx, (JoyAxis)b, s_btns[b]);`
This doesn't work because there is no JoyAxis 6 or 7 in the enum
To fix this we use JoyAxis::TRIGGER_LEFT and TRIGGER_RIGHT for button 6
and 7
However since we are now lying to input->joy_axis we also need to lie in
the mappings for the standard gamepad in godotcontrollersdb.txt,
otherwise input->joy_axis will try to find a mapping to axis 4(LT) and
axis 5(RT) that's not defined.
Therefore we set lefttrigger to +a4 and righttrigger to +a5 in the
mapping, to match what we are actually sending.
A cleaner, and more involved fix to this would be modifying
input->joy_button so that it can handle analog buttons and map them to
axes preserving their value instead of converting to boolean
2024-08-14 16:13:16 -03:00
Rémi Verschelde
8e666adeed
i18n: Sync translations with Weblate
...
Adds Irish (ga) translations.
2024-08-14 16:14:54 +02:00
Rémi Verschelde
404fe05d2b
Update AUTHORS and DONORS list
2024-08-14 12:55:09 +02:00
Rémi Verschelde
0e355d74ac
Merge pull request #95517 from aaronfranke/fix-vec4-classdb
...
Fix Vector4, Vector4i, and Projection missing from ClassDB tests
2024-08-14 12:54:43 +02:00
Aaron Franke
5ced75aeb1
Fix Vector4, Vector4i, and Projection missing from ClassDB tests
2024-08-14 02:59:59 -07:00
Rémi Verschelde
06fbc8395b
Merge pull request #95481 from AThousandShips/anim_signal_fix_2
...
[Editor] Fix `AnimationTrackEditor::timeline_changed` signal
2024-08-13 15:44:59 +02:00
A Thousand Ships
4fe0d0ee86
[Editor] Fix AnimationTrackEditor::timeline_changed
signal
...
Signal was declared with two arguments, emitted with both two and three
2024-08-13 15:09:53 +02:00
Rémi Verschelde
28e65b0e4e
Merge pull request #95476 from RandomShaper/uncached_progress
...
ResourceLoader: Fix error on querying progress for uncached loads
2024-08-13 13:32:12 +02:00
Pedro J. Estébanez
17ea4b405a
ResourceLoader: Fix error on querying progress for uncached loads
2024-08-13 12:41:11 +02:00
Rémi Verschelde
a7a124a57d
i18n: Sync translations with Weblate
2024-08-12 23:51:35 +02:00
Rémi Verschelde
29a0e51b87
Merge pull request #95400 from AThousandShips/anim_signal_fix
...
[Editor] Fix missing bind for animation editor callback
2024-08-12 22:42:08 +02:00
Rémi Verschelde
b8e8b339c4
Merge pull request #95347 from calsbrook/update-compositor-effect-docs
...
Clarify usage of CompositorEffect as an abstract base class
2024-08-12 22:41:52 +02:00
Rémi Verschelde
3896212a95
Merge pull request #95434 from TokageItLab/docs-anim-link
...
Add Animation tutorial links to class reference by 4.3
2024-08-12 22:22:48 +02:00
Rémi Verschelde
b2f8ed7ff7
Merge pull request #95432 from bruvzg/rest_pop_time_on_click
...
Stop popup release timeout on click.
2024-08-12 22:22:42 +02:00
Rémi Verschelde
e231d04d0e
Merge pull request #95364 from ajreckof/fix-label-update-for-dict-on-item-deletion
...
Fix label update for dict on item deletion.
2024-08-12 22:22:32 +02:00
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
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