Rémi Verschelde
8788b20ea0
Merge pull request #81775 from darksylinc/matias-taa-msaa
...
Fix massive validation errors when enabling TAA + MSAA
2023-09-24 23:32:31 +02:00
Rémi Verschelde
5b6bf2aa2a
Merge pull request #81675 from Calinou/editor-filter-nodes-type-clarify
...
Clarify filtering by node type and group in the Scene tree dock
2023-09-24 23:32:07 +02:00
Rémi Verschelde
684effb6b4
Merge pull request #81425 from Rubonnek/expose-inspector-methods-master
...
Expose `EditorInspector::get_edited_object` to GDScript
2023-09-24 23:31:43 +02:00
Rémi Verschelde
b8238ec919
Merge pull request #81251 from aitorciki/nvidia-profile-multiapp
...
[Windows] Fix not applying NVIDIA profile to new executables
2023-09-24 23:31:20 +02:00
Rémi Verschelde
42fb795eb8
Merge pull request #80227 from raulsntos/get_tab_bar
...
Expose the `TabBar` of a `TabContainer`
2023-09-24 23:30:56 +02:00
Rémi Verschelde
98747a9040
Merge pull request #78803 from EMBYRDEV/additional-mesh-import-options
...
Add layer, shadow and visibility range options to the Scene importer
2023-09-24 23:30:30 +02:00
Rémi Verschelde
40b48b13ee
Merge pull request #78580 from Bromeon/feature/gdextension-stringname-ctor
...
Add GDExtension function to construct StringName directly from char*
2023-09-24 23:30:04 +02:00
Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
...
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
Rémi Verschelde
2048fe5df5
Merge pull request #82245 from akien-mga/sync-gamecontrollerdb
...
Sync controller mappings DB with SDL2 community repo
2023-09-24 21:06:47 +02:00
Jan Haller
c770937db5
More precise documentation for GDExtension String constructors (bytes vs. character count)
2023-09-24 20:57:58 +02:00
Jan Haller
43be9fa0c8
Fix platform-dependent hashing for char* and wchar_t*
...
Since char/wchar_t can be either signed or unsigned, its conversion to uint32_t leads to different values depending on platform.
In particular, the same string represented as char* (Latin-1; StringName direct construction) or uint32_t (UTF-8; constructed
via String) previously resulted in different hashes.
2023-09-24 20:57:57 +02:00
Jan Haller
ed3015e979
GDExtension: construct StringName directly from char*
...
So far, an indirection via String was necessary, causing at least 2 allocations and copies (String; String inside StringName).
Since StringNames often refer to string literals, this allows them to be directly constructed from C strings.
There are two formats: Latin-1 and UTF-8.
The Latin-1 constructor also provides the `p_is_static` flag: when the source has static storage duration, no copy/allocation will be needed.
However, the extension developer needs to uphold this lifetime guarantee.
2023-09-24 18:18:05 +02:00
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