Commit graph

63602 commits

Author SHA1 Message Date
Haoyu Qiu 779426b2fa Allow setting icon max width for TabContainer 2024-04-26 08:27:27 +08:00
George Marques 7ca038effa
GDScript: Perform validated calls with static methods
When the types are validated at compile time, this type of call runs
faster. It is already used for instance methods, this adds this
optimization to native static methods as well.
2024-04-25 21:19:40 -03:00
clayjohn 4e5e81c7d4 Properly calculate penumbra for soft shadows with reverse z
Also fix a related bug where the DirectionalLight3D size was ignored unless a positional light with soft shadows touched the mesh
2024-04-25 17:06:49 -07:00
Malcolm Nixon e00e5c0386 Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 -04:00
kit d9b0561601 Don't use vscroll when fit to content height in TextEdit 2024-04-25 19:19:08 -04:00
Emanuel Acosta Gonzalez (emanvidmaker) 40651eb642
FileAccess.xml had conflicting function names in its example code
In the example code the declared load() function conflicts with global scope load(). so if you copy pasted it in godot 4.2.2 you would get a "Too few arguments for "load()" call. Expected at least 1 but received 0." error since it doesn't override global scope load().
2024-04-25 18:51:37 -04:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
Markus Stephanides c14b395c78
Add no-change check to Label3D 2024-04-25 22:13:20 +02:00
clayjohn e8bb0a5719 Add adjustments and color correction to Compatibility renderer 2024-04-25 12:24:51 -07:00
kit eefd311456 Don't edit current when changing docks v2 2024-04-25 15:01:20 -04:00
bqqbarbhg 095569011c Resolve bind poses from FBX clusters instead of FBX poses
Turns out that the information in FBX Pose objects is relatively often broken.
Using skin cluster bind poses seems more reliable, but cannot capture the bind pose of the root bone.
2024-04-25 21:13:50 +03:00
Dario b95e18f557 Fix crash on compatibility fallback when vkCreateRenderPass2KHR is unavailable. 2024-04-25 14:03:02 -03:00
Hugo Locurcio 73e4e7ef9c
Allow compressed texture array and cubemap types in shader globals editor 2024-04-25 17:36:31 +02:00
Rémi Verschelde 11d3768132
Merge pull request #91153 from dsnopek/fix-gdextension-static-ptrcall
Fix ptrcalls to static GDExtension methods
2024-04-25 17:12:47 +02:00
Rémi Verschelde e399f862df
Merge pull request #91136 from basicer/light_vertex
Add `LIGHT_VERTEX` to fragment shader
2024-04-25 17:12:44 +02:00
Rémi Verschelde 43d7346b5a
Merge pull request #91114 from Koyper/fix_popup_menu_incorrect_v_scrollbar
[PopupMenu] Fix incorrect vertical scroll bar visible at fractional content scale
2024-04-25 17:12:41 +02:00
Rémi Verschelde f859400c6b
Merge pull request #91078 from aaronp64/import_skip_crash
Fix errors/crashes related to skipped imports
2024-04-25 17:12:38 +02:00
Rémi Verschelde 5a14db7554
Merge pull request #86627 from ajreckof/add-static-body-creation-for-all-colision-shape-creations
Add static body creation equivalent for all collision shape sibling creations
2024-04-25 17:12:31 +02:00
aaronp64 e63d0983d0 Fix errors/crashes related to skipped imports
- Added check for "animation/fps" key before attempting to use it in EditorSceneFormatImporterBlend::import_scene, to give error instead of crashing

- Don't show "Advanced..." button if last import used "Keep File" or "Skip File"

- Don't try to call ResourceLoader::load on kept/skipped file when changing importer, which would give an error

Fixes #90324
2024-04-25 10:33:59 -04:00
Koyper 4c5a904faf [PopupMenu] Fix incorrect vertical scroll bar visible at fractional content scale 2024-04-25 09:33:36 -05:00
Rob Blanckaert ffe0b869f5 Add LIGHT_VERTEX to fragment shader
Adds a new variable to the fragment shader to specify
the vertex position used when calculating lighting.
2024-04-25 06:56:02 -07:00
ajreckof b84f66c5df Rework MeshInstance3d collision shape creation into a subMenu and add all static body options
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-25 15:34:58 +02:00
David Snopek 45463f75d6 Fix ptrcalls to static GDExtension methods 2024-04-25 08:20:22 -05:00
David Snopek 52324ebbb3 Fix GDExtension documentation disappearing after hot-reload 2024-04-25 07:24:55 -05:00
Rémi Verschelde 780e1a5040
Merge pull request #91141 from kus04e4ek/earbuds-you-had-one-job
Don't ignore `audio/driver/output_latency.web`
2024-04-25 12:11:32 +02:00
Rémi Verschelde 50a38cd1c2
Merge pull request #91137 from ckaiser/fix-minimap-lightmode
Use TextEdit caret color for minimap highlight (fix minimap regression)
2024-04-25 12:11:28 +02:00
Rémi Verschelde 04d708d675
Merge pull request #91129 from timothyqiu/gdscripty
Fix syntax error in `camera_attributes_set_exposure` documentation
2024-04-25 12:11:25 +02:00
Rémi Verschelde ab2daa2923
Merge pull request #91095 from timothyqiu/min-tree
Fix Tree minimum size calculation
2024-04-25 12:11:23 +02:00
Rémi Verschelde 81aa139e0d
Merge pull request #91083 from nagidev/master
Fix port cache calculation in GraphNode
2024-04-25 12:11:20 +02:00
Rémi Verschelde f819c77d27
Merge pull request #90915 from rburing/no_more_speedrun
Fix `move_and_slide` wall slide acceleration (3D)
2024-04-25 12:11:13 +02:00
patwork 7c8a4a9dab Added splash image support and new progress bar for web export 2024-04-25 11:12:55 +02:00
Kusok 1e8eff815a Don't ignore audio/driver/output_latency.web 2024-04-25 17:09:45 +08:00
Haoyu Qiu 84d01347df Fix syntax error in camera_attributes_set_exposure documentation 2024-04-25 16:01:13 +08:00
Haoyu Qiu 4f4e8589df Fix Tree minimum size calculation
- Take scroll bar space and column title buttons into account
- Fix first column min size sometimes missing one level of indent
- Fix cell min size ignoring text overrun behavior and item inner margin
- Update min size when `hide_root` or `column_title_visible` changes

Wrong description of `item_inner_margin_*` constants is also fixed
2024-04-25 16:00:45 +08:00
Christian Kaiser 91fff47fdc Use TextEdit caret color for minimap highlight 2024-04-25 04:27:49 -03:00
Rémi Verschelde e0f58a3194
Merge pull request #91120 from dalexeev/gds-fix-tests-fail-after-89990
GDScript: Fix test `reset_uninit_local_vars.gd` failure
2024-04-25 09:14:45 +02:00
Danil Alexeev 4136ed7fc8
GDScript: Fix test reset_uninit_local_vars.gd failure 2024-04-24 20:49:52 +03:00
Rémi Verschelde 4bca2d8bc6
Merge pull request #91113 from KoBeWi/acceptator
Register text enter for script base class
2024-04-24 18:55:30 +02:00
Rémi Verschelde f4a1c391fe
Merge pull request #91110 from KoBeWi/impostor_node_among_us
Clarify transform inheritance of CanvasItem nodes
2024-04-24 18:55:28 +02:00
Rémi Verschelde 9f1ce63296
Merge pull request #91109 from kleonc/path3d-tilt-gizmo-ray-against-global-plane
Fix `Path3D` tilt gizmo raycasting against local plane
2024-04-24 18:55:25 +02:00
Rémi Verschelde de9933444e
Merge pull request #91108 from akien-mga/sync-gamecontrollerdb
Sync controller mappings DB with SDL 2 community repo
2024-04-24 18:55:22 +02:00
Rémi Verschelde 7125d41d98
Merge pull request #91106 from AThousandShips/macos_ci_improve
[CI] [macOS] Build for both `arm64` and `x86_64`
2024-04-24 18:55:19 +02:00
Rémi Verschelde 7b0bd873f0
Merge pull request #91103 from smix8/navregion_test_err
NavigationRegion test suppress warning about visual meshes
2024-04-24 18:55:16 +02:00
Rémi Verschelde 2da707ee35
Merge pull request #91090 from timothyqiu/disconnect
Fix error when moving FileSystem dock
2024-04-24 18:55:13 +02:00
Rémi Verschelde dcdaa7d5a9
Merge pull request #90900 from Calinou/file-logging-strip-ansi-escape-codes
Strip ANSI escape codes from file logging
2024-04-24 18:55:10 +02:00
Rémi Verschelde 2e92fb00d4
Merge pull request #90540 from Repiteo/core/type-info-use-type-traits
Core: Use `<type_traits>` where applicable
2024-04-24 18:55:07 +02:00
Rémi Verschelde 00cc0a3e8f
Merge pull request #90091 from ajreckof/Fix-load-subtask-not-being-registered-leading-to-false-progress-values-
Fix load subtask not being registered leading to false progress values.
2024-04-24 18:55:04 +02:00
Rémi Verschelde 69a23e64e4
Merge pull request #89990 from dalexeev/gds-reset-uninit-local-vars
GDScript: Fix uninitialized local variables not being reset
2024-04-24 18:54:56 +02:00
kobewi d68ab7c874 Register text enter for script base class 2024-04-24 17:38:09 +02:00
kobewi d04d58d387 Clarify transform inheritance of CanvasItem nodes 2024-04-24 16:31:07 +02:00