Commit graph

57610 commits

Author SHA1 Message Date
Rémi Verschelde
e40b0b3ed8
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@fc4b33c872
2023-09-24 15:51:12 +02:00
Jakub Marcowski
2e28fb7cdd Remove the separator from ItemList's thumbnail mode 2023-09-24 13:06:11 +02:00
jsjtxietian
2679118d51 Fix skeleton 3d editor's toolbar ui deleted from wrong container 2023-09-24 11:28:46 +08:00
Yuri Sizov
98f9ef5f88 Check for type variations in inherited themes 2023-09-24 02:54:52 +02:00
Haoyu Qiu
2d67ce4e60 Fix leak when calling remove_control_from_menu_panel 2023-09-24 08:35:45 +08:00
Shawn Wallace
b12ed82c04 Expose texture_create_from_extension to GDExtension 2023-09-23 16:57:12 -04:00
Yuri Sizov
b351cffddf Fix theme access and improve UX in AnimationTree editor 2023-09-23 21:47:27 +02:00
kobewi
90a0b19301 Make InputEventShortcut always pressed 2023-09-23 19:43:07 +02:00
David Snopek
0967fe6217 GDExtension: Remove redundant method bind hash check 2023-09-23 08:48:33 -05:00
Wilson E. Alvarez
c844988e40
Expose EditorInspector::get_edited_object to GDScript 2023-09-23 09:47:07 -04:00
BlueCube3310
1121c7bbaf Disable bounding box shadows for advanced scene importer 2023-09-23 15:18:57 +02:00
Yuri Rubinsky
6d9e4e9704 Fix CurveEdit crash when dragging the curve if it is null 2023-09-23 11:44:54 +03:00
Hugo Locurcio
edade7db23
Clarify filtering by node type and group in the Scene tree dock
This functionality has been available since 4.0, but was difficult
to discover since there was no tooltip and the placeholder didn't
mention it.
2023-09-22 23:09:35 +02:00
Rémi Verschelde
c12d63556b
Merge pull request #82116 from EIREXE/gdscript-docs-fix
Fix `--gdscript-docs` tool failing when autoloads are used in the project.
2023-09-22 22:05:58 +02:00
Rémi Verschelde
1c10ff37b3
Merge pull request #82098 from dalexeev/gds-prevent-engine-singleton-inheritance
GDScript: Prevent constructing and inheriting engine singletons
2023-09-22 22:05:34 +02:00
Rémi Verschelde
f795e45868
Merge pull request #82088 from DennisManaa/qbie/expand-ports
Visual Shaders: Make output-ports for vector types expandable by default
2023-09-22 22:05:10 +02:00
Rémi Verschelde
d65d379d22
Merge pull request #81802 from Nomad1/vs2022_mac_fix
Fixed VS 2022 Mac compatibility
2023-09-22 22:04:46 +02:00
Rémi Verschelde
525c72ec6d
Merge pull request #81350 from DarioSamo/mipmap-bias
Fix mipmap bias behavior by refactoring how samplers are created by Material Storage.
2023-09-22 22:04:22 +02:00
Rémi Verschelde
bafcd32f15
Merge pull request #81716 from akien-mga/web-disable-raycast-embree
Web: Disable raycast module by default (no occlusion culling)
2023-09-22 22:03:55 +02:00
Rémi Verschelde
6fc1d50db3
Merge pull request #81521 from dsnopek/method-bind-default-argument-hash-fix
Fix method hashes with default arguments
2023-09-22 22:03:30 +02:00
Rémi Verschelde
6094738059
Merge pull request #61910 from Calinou/lightmapgi-static-directional-fix-brightness
Fix directional LightmapGI being too dark with static lights
2023-09-22 22:03:01 +02:00
Aitor Guevara
6263774aec [Windows] Fix not applying NVIDIA profile to new executables
An NVIDIA profile is applied to the current executable to disable
threaded OpenGL optimizations on Windows (see #71472). But because the
application is only added to the profile upon the profile creation,
newer executables won't be added to the profile (e.g. if the profile is
created on first launch of Godot_v4.1-stable_win64.exe, when users
update the editor and launch Godot_v4.2-stable_win64.exe, the profile
will never be applied to this new executable).
This patch fixes that scenario by splitting creating the profile (if it
doesn't exist) and adding the application (if it doesn't have a profile
applied) into two separate steps.
Applications that have been manually added to a different profile aren't
overriden to avoid confusing users who know what they're doing.
2023-09-22 20:51:12 +02:00
Raul Santos
408a08f2c1
Expose the TabBar of a TabContainer
Add `TabContainer::get_tab_bar` method to retrieve the `TabBar` of a `TabContainer`.
2023-09-22 20:08:28 +02:00
Danil Alexeev
10b00bc2ea
GDScript: Prevent constructing and inheriting engine singletons 2023-09-22 17:30:00 +03:00
DennisManaa
f248420a2b made visual shader ports expandable by default if there is only one output port and it's of any vector type
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2023-09-22 15:28:59 +02:00
Álex Román Núñez
10697adb8a Fix --gdscript-docs tool failing when autoloads are used in the project.
Fixes #79497
2023-09-22 14:42:31 +02:00
0x4448
7ea4247c3d Omit quotes from completion if triggered with quote
Typing a single or double quote in an external editor triggers
auto-completion. The returned CompletionItem should not include
quotes since they're already in the editor.

CompletionParams was missing context in to_json() and this is
required to detect whether a quote was typed.
2023-09-21 17:37:32 -07:00
Nomad1
a119365d4e Fixed VS 2022 Mac compatibility
Visual Studio 2022 on Mac marks the project as invalid if the project Guid is set. Easiest way to fix it is to remove outdated 'EnableGodotProjectTypeGuid' and other Guid references
2023-09-21 15:30:10 -02:30
David Snopek
0d13727c97 Fix method hashes with default arguments 2023-09-21 12:39:04 -05:00
Hugo Locurcio
7831eedf1c
Fix directional LightmapGI being too dark with static lights
The brightness now matches dynamic lights (indirect light baked only)
when Directional is enabled.

Co-authored-by: Priyansh Rathi <techiepriyansh@gmail.com>
2023-09-21 18:00:54 +02:00
CaTaTo
7fab7eb7d8 Make all render driver project settings require restart
Update main/main.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update main/main.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-09-21 17:01:54 +03:00
chokomancarr
4a2de1e17a
fix incorrect GL format code for 16 bit float formats
For FORMAT_XXXH half-precision format constants, the description uses GL_XXX32F, which is incorrect.
This fixes it to GL_XXX16F to align with the intended precision.
2023-09-21 21:49:01 +08:00
MewPurPur
7b86969719 Overhaul the Gradient Editor 2023-09-21 15:55:28 +03:00
Rémi Verschelde
fe5b1c8d49
Merge pull request #82043 from AThousandShips/exclude_fix
Fix missing clear for some `set_exclude*` query parameter methods
2023-09-21 14:27:46 +02:00
Rémi Verschelde
603119d301
Merge pull request #82037 from bruvzg/macos_gl_min_size
[macOS] Enforce non-zero window size.
2023-09-21 14:27:42 +02:00
Rémi Verschelde
cc0a02c75c
Merge pull request #82031 from bruvzg/borderless_fs
[Windows] Use clear color for non exclusive fullscreen border, fix maximize for borderless window switching to exclusive fs.
2023-09-21 14:27:39 +02:00
Rémi Verschelde
fb4c0cf462
Merge pull request #81971 from KoBeWi/there_is_only_one_scene
Don't allow transforming scene tiles
2023-09-21 14:25:08 +02:00
Rémi Verschelde
44ea5f9470
Merge pull request #81854 from bitsawer/fix_importer_mesh_bones
Fix ImporterMesh bone weight handling during lightmap unwrap
2023-09-21 14:25:03 +02:00
Rémi Verschelde
1094239f56
Merge pull request #81249 from beyarkay/patch-1
[docs] Update AABB `get_support` description
2023-09-21 14:24:59 +02:00
Rémi Verschelde
184e603c99
Merge pull request #80467 from aaronfranke/mesh-lod-limit
Limit mesh complexity in LOD generation to prevent crashing
2023-09-21 14:24:54 +02:00
Rémi Verschelde
4f314a64a5
Merge pull request #72831 from bruvzg/angle++
[macOS/Windows] Add optional ANGLE backed OpenGL renderer support (runtime backend selection).
2023-09-21 14:24:46 +02:00
Dawid Marzec
14f6f97f9c Don't move not selected cursor item dragging files 2023-09-21 13:55:06 +02:00
A Thousand Ships
95eafcba4c Fix missing clear for some set_exclude* query parameter methods 2023-09-21 13:30:57 +02:00
bruvzg
1887a9df19
[macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching.
Co-authored-by: Riteo <riteo@posteo.net>
2023-09-21 14:21:00 +03:00
bruvzg
901e090e56
[macOS] Enforce non-zero window size. 2023-09-21 12:37:18 +03:00
bruvzg
b826cd5acd [Windows] Use clear color for non exclusive fullscreen border, fix maximize for borderless window switching to exclusive fs. 2023-09-21 11:24:40 +03:00
Rémi Verschelde
59139df16e
Merge pull request #81986 from spazzylemons/master
Remove unnecessary line from Projection::get_z_far
2023-09-20 18:55:32 +02:00
Rémi Verschelde
70150bac8a
Merge pull request #81978 from MewPurPur/donut-buff
Improve the Torus icons
2023-09-20 18:55:28 +02:00
Rémi Verschelde
58750df3a3
Merge pull request #81968 from bruvzg/xc15_ld_bug
[macOS] Workaround Xcode 15 linker bug.
2023-09-20 18:55:25 +02:00
Rémi Verschelde
0c71c7cc6f
Merge pull request #81967 from Jordyfel/physics-doc
Fix example in gravity project settings doc
2023-09-20 18:55:21 +02:00