Commit Graph

66859 Commits

Author SHA1 Message Date
bruvzg e7f215c2c4
[BMFont] Fix importing fonts with `Match char height` enabled. 2024-08-14 23:52:19 +03:00
Alvin Wong 16a563b9ac DisplayServerWindows: Fix logic when creating with transient parent 2024-08-15 04:10:15 +08:00
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
Ian McCleary 140f9dc3e7 Fix custom resources using incorrect icons 2024-08-14 12:18:01 -05: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
bruvzg f15ad72355
Run cleanup code on DisplayServer init failure to prevent crash on exit. 2024-08-14 11:36:29 +03:00
Summersay415 6df3621b47 Return error when no ResourceFormatLoader found. 2024-08-14 11:45:23 +07:00
Lyuma e7de6f8725 Avoid [] for external_animation_library import option
Some uses of operator[] were causing "rest_pose/external_animation_library": null to be added to the .import file.
2024-08-13 17:53:46 -07:00
Mikael Hermansson a387c26770 Expose more Ninja-related build options 2024-08-13 23:54:39 +02:00
bruvzg 69d52ed081
[.NET] Move search in files extension list definition to be after Scene level module init. 2024-08-14 00:16:09 +03:00
Leonardo Demartino 0a57dd4682 Only main binaries require entitlements. This fixes signing issues on macOS. 2024-08-13 16:55:27 -03:00
Slashscreen 4457b11ff0 Apply patch for considering visual layers for DirectionalLight
Co-authored-by: majikayogames <152851004+majikayogames@users.noreply.github.com>
2024-08-13 08:45:38 -07:00
Septian Ganendra S. K. 336b9a27b7 Clarify `Timer.start()` documentation to match the current behavior. 2024-08-13 21:05:14 +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 31a9e10ddb ResourceLoader: Use better error handling for possible engine bugs 2024-08-13 12:52:08 +02:00
Pedro J. Estébanez 17ea4b405a ResourceLoader: Fix error on querying progress for uncached loads 2024-08-13 12:41:11 +02:00
bruvzg 273ba27c2f
`CowData` remove hardcoded offset and unused argument from `_unref`. 2024-08-13 08:53:45 +03:00
Cory Petkovsek b1a45d9487 Ensure selected node is a descendant of the edited scene 2024-08-13 12:08:47 +07:00
jsjtxietian c7249f41e9 Remove `missing a category` warning in visual shader node 2024-08-13 12:20:59 +08:00
tetrapod00 b9876b626d Change "Node3D" to "Spatial" in VisualShader resource 2024-08-12 21:04:13 -07:00
clayjohn 1bf594fb5a Increase precision of skeleton transforms in the skeleton shader in the Compatibility renderer 2024-08-12 16:12:04 -07:00
clayjohn b0e33aa00f Fail when submit or sync called on main rendering device
Fail if submit or sync called multiple times in a row
2024-08-12 15:50:01 -07:00
Rémi Verschelde a7a124a57d
i18n: Sync translations with Weblate 2024-08-12 23:51:35 +02:00
Michael Alexsander 84c5403578
Fix incorrect parsing of nested nodes when generating the POT 2024-08-12 18:05:58 -03: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
Hugo Locurcio 14dda6a4b9
Tweak missing tile source message in the TileSet editor
This also renames the Tiles tab in the TileSet bottom panel
to Tile Sources to make it more explicit (and avoid using
the same name as the Tiles tab in the TileMap editor).
2024-08-12 21:41:50 +02:00
clayjohn b99d0d778a Use transformed roughness instead of raw roughness to calculate roughness fade in SSR 2024-08-12 12:04:16 -07:00
David Snopek dfcff4ef46 OpenGL: Unconditionally do `glDisable(GL_FRAMEBUFFER_SRGB)` because we do our own sRGB conversion 2024-08-12 12:40:38 -05: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
Joyless 3d43e73181 Add NotNullWhenAttribute to IsInstanceValid 2024-08-12 16:44:09 +01: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