Commit Graph

13483 Commits

Author SHA1 Message Date
Thaddeus Crews c78eac252e Merge pull request #117172 from dalexeev/gds-fix-return-type-check-inferred
GDScript: Fix return type checking for inferred function type
2026-03-09 15:18:14 -05:00
Rémi Verschelde 4bee1639b2 Merge pull request #116789 from aaronfranke/gltf-duplicate-doc-ext
GLTF: Duplicate extensions at the start of the import and export process
2026-03-09 11:49:25 +01:00
Aaron Franke f20517380d GLTF: Duplicate extensions at the start of the import and export process 2026-03-07 14:04:04 -08:00
Danil Alexeev 566d86d081 GDScript: Fix return type checking for inferred function type 2026-03-07 12:52:31 +03:00
Silc Lizard (Tokage) Renew 73d041dd98 Optimize Animation Resource, Library, Mixer, Player
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-06 16:35:21 -05:00
Thaddeus Crews 83f396d0dd Merge pull request #116973 from YeldhamDev/we_need_coordination
Add cursor coordinates to the `GridMap` editor
2026-03-06 12:40:33 -06:00
Thaddeus Crews 363de27105 Merge pull request #116814 from YeldhamDev/gridmap_selection_paste_fixes
Fix problems with undoing selection and pasting in `GridMap` editor
2026-03-06 12:40:31 -06:00
Thaddeus Crews cac8aad359 Merge pull request #116685 from YeldhamDev/gridmap_reset_button
Add button to clear rotation in the `GridMap` editor
2026-03-06 12:40:29 -06:00
Thaddeus Crews 42c771d160 Merge pull request #115957 from YeldhamDev/cursor_manipulator
Add `View3DController` for editor 3D view manipulation
2026-03-06 12:40:06 -06:00
kit 1800c4782f Fix no GDScript build fails due to no class_db.h 2026-03-05 16:46:23 -05:00
Michael Alexsander 27c86165f7 Add View3DController for editor 3D view manipulation 2026-03-05 12:51:48 -03:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde 18edfa5245 Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
Thaddeus Crews fe6f78a4c7 Merge pull request #117036 from YeldhamDev/tile_grid_focus_out
Stop drag actions in the `TileMapLayer` and `GridMap` editors when focus is lost
2026-03-04 21:03:51 -06:00
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews c53c5a1f49 Merge pull request #116565 from YeldhamDev/you_unspin_me_round_round
Make possible to undo rotation of selected `GridMap` cells.
2026-03-04 14:32:42 -06:00
Thaddeus Crews 0aacb28576 Merge pull request #116900 from IceflowRE/translation_1
Add add_submenu_node_item to POT generation
2026-03-04 14:32:39 -06:00
Thaddeus Crews 5134bdb39e Merge pull request #115842 from Arbee4ever/lsp-log-startup-errors
LSP: log startup Errors
2026-03-04 14:32:35 -06:00
Thaddeus Crews 66a96d92c6 Merge pull request #116749 from Jesusemora/testing-changes
Add automatic smoothing for CSG nodes
2026-03-04 14:32:27 -06:00
Jesusemora 6114c6a266 autosmooth
added properties

update inspector

UX improvements

and minor optimizations

deg_to_rad

moved methods

move variables

performance and cleanup

Faster

Compare the angles/smooth of faces instead of vertices, skipping for loop.
Using a LocalVector instead of Vector, this simplifies the code while making it faster, and I don't think we need COW.

all done and working

Optimizations and cleanup

Clarifying and expanding the description of autosmooth and smoothing_angle properties.
Optimizations to skip steps in the loops:
Split loops to be able to skip vertices better and replace division with multiplication.
Suggestions for future changes.
Skip loop if smoothing_angle is lower than 0.1, as a more performant alternative to default smoothing.
Do not compare vertices that belong to the same triangle.
Remove has_smooth. Use a check at the start of the loop instead. This allows us to skip faces.
Perform normalize() at the end of the loop as we don't need the normal of the vertex afterwards, as we use the normal of the face for smoothing.  This way we skip normalizing flat faces.
If one vertex of a triangle is connected to the current vertex, the other 2 can never physically connect, so we skip them (break;). This isn't as reliable but it could add a slight performance increase.
I calculate a decrease of at least 80% of calculations in the for loops compared to the previous code.

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-03-04 15:30:33 -03:00
Pāvels Nadtočajevs b83ca97659 [TextServer] Remove GDExtension build support. 2026-03-04 19:34:46 +02:00
Thaddeus Crews 7438a39a13 Merge pull request #114324 from m4gr3d/support_composition_layers_anywhere_in_tree
Support composition layers anywhere in the tree
2026-03-04 11:20:32 -06:00
Thaddeus Crews 371282b28e Merge pull request #92984 from adamscott/reveal-me
Customize the file manager label for each platform
2026-03-04 11:20:31 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Michael Alexsander bbacc674b8 Stop drag actions in the TileMapLayer and GridMap editors when focus is lost 2026-03-03 16:13:40 -03:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Thaddeus Crews 22e44501fa Merge pull request #116597 from Akosmo/improve-audio-docs-3
Improve docs for ResourceImporterMP3 and ResourceImporterOggVorbis
2026-03-02 15:54:00 -06:00
Thaddeus Crews d89e19f556 Merge pull request #116683 from YeldhamDev/grid_map_rotation_fix
Fix wrong rotation of cells while being pasted in the `GridMap` editor
2026-03-02 15:53:55 -06:00
Thaddeus Crews 524d230927 Merge pull request #116546 from YeldhamDev/where_did_that_cell_go
Fix undoing `GridMap` move operations resulting in deleted cells
2026-03-02 15:53:54 -06:00
Parritz 45b60c0351 Editor: Fix CSG gizmo selection inside CSGCombiners 2026-03-02 15:52:30 -06:00
Michael Alexsander 6c98eda54c Add cursor coordinates to the GridMap editor
Co-authored-by: Bad Sector <badsector@runtimeterror.com>
2026-03-02 15:56:07 -03:00
Adam Scott f441172719 Customize the file manager for each platform 2026-03-02 09:42:13 -05:00
Rémi Verschelde 6ca3b16daf Merge pull request #116205 from Akosmo/improve-audio-docs-2
Add missing info to some AudioStream docs
2026-03-02 12:35:31 +01:00
arbee4ever 1cf8691438 LSP: log startup Errors 2026-03-01 09:56:49 +01:00
Thaddeus Crews 1aaea38e7f Merge pull request #111573 from StarryWorm/rm-class_db.h-from-resource.h
Core: remove `class_db.h` include from `resource.h`
2026-02-28 13:55:24 -06:00
Iceflower c921ad1eec Add add_submenu_node_item to POT generation 2026-02-28 20:18:22 +01:00
Akosmo 57da2733bc Improve docs for ResourceImporterMP3 and ResourceImporterOggVorbis 2026-02-28 13:35:02 -03:00
Akosmo 6b8eb8ebf1 Add missing info to some AudioStream docs 2026-02-28 12:04:08 -03:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews 39bf77ddd1 OpenXR: Limit Windows includes to COM interface 2026-02-27 15:43:38 -06:00
Michael Alexsander 4d012fe73c Fix problems with undoing selection and pasting in GridMap editor 2026-02-27 16:28:45 -03:00
Thaddeus Crews 95535167b3 Merge pull request #116778 from YeldhamDev/orbiting_around_the_world
Fix `GridMap` editor pasting when orbiting using the "Alt" key
2026-02-27 08:49:39 -06:00
Fredia Huya-Kouadio b389d580ac Support composition layers anywhere in the tree 2026-02-26 21:54:26 -08:00
Thaddeus Crews abdde1b69d Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews f630133a01 Merge pull request #116826 from Repiteo/style/class-db-explicit-include
Style: Add `class_db.h` includes explicitly
2026-02-26 16:18:45 -06:00
Thaddeus Crews 4b70daceba Merge pull request #116795 from bruvzg/ts_rs
Remove direct `RenderingServer` dependency from `TextServer`.
2026-02-26 16:18:37 -06:00